what is virtual function?
Answer Posted / ann
A virtual function is a function which is preceded by the
keyword 'virtual' followed by its normal declaration.When we
use the same function name in both the base and derived
classes,the function in base class is declared as virtual.
This concept is a very important part of the
polymorphism portion of object-oriented programming
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the fundamental idea of oop?
Can we create object of abstract class?
What does oop mean in snapchat?
Explain virtual inheritance?
Why is destructor used?
What is polymorphism give a real life example?
Why do we use polymorphism in oops?
Write a program to sort the number with different sorts in one program ??
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is encapsulation oop?
What is the benefit of oop?
Get me a number puzzle game-program
Why do we use encapsulation in oops?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Why it is called runtime polymorphism?