what is virtual function?
Answer Posted / bhupendra more
A function qualified by the virtual keyword. When a virtual
is called via a pointer,the class of the object pointed to
determine which function definition will be used. Virtual
function implement polymorphism. whereby objects belonging
to different classes can respond to the same massage in
different way.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why polymorphism is used in oops?
Why is encapsulation used?
Why is oop better than procedural?
What makes a language oop?
What is class and example?
which feature are not hold visual basic of oop?
What is multilevel inheritance?
what type of question are asked in thoughtworks pair programming round ?
Why do we use class?
What are the 3 pillars of oop?
Where You Can Use Interface in your Project
What is multilevel inheritance in oop?
What is object in oops?
c++ program to swap the objects of two different classes
Can main method override?