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
Is data hiding and abstraction same?
Can you inherit a private class?
Is html an oop?
Is enum a class?
What is for loop and its syntax?
what's the basic's in dot net
What do you mean by variable?
What is a function in oop?
What is difference between data abstraction and encapsulation?
Can bst contain duplicates?
What is abstract class in oops?
What is the problem with multiple inheritance?
What are the two different types of polymorphism?
Can we have inheritance without polymorphism?
What is object and class in oops?