what is virtual function?
Answer Posted / b.mamatha
A virtual function or virtual method is a function or method
whose behaviour can be overridden within an inheriting class
by a function with the same signature. This concept is a
very important part of the polymorphism portion of
object-oriented programming (OOP).
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the fundamental idea of oop?
Write a program to sort the number with different sorts in one program ??
What does and I oop mean?
Why polymorphism is used in oops?
What is encapsulation in oop?
What is the real life example of polymorphism?
write a program to find 2^n+1 ?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is destructor give example? What is encapsulation and abstraction? How are they implemented in C++? i am getting an of the type can not convert int to int *.
to overcome this problem what we should do? What is the highest level of cohesion? Is data hiding and abstraction same? What is interface in oop? What are the types of abstraction?