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
How can you overcome the diamond problem in inheritance?
when to use 'mutable' keyword and when to use 'const cast' in c++
Is this job good for future? can do this job post grduate student?
What is destructor in oop?
What are the data types in oop?
can we make game by using c
How do you use inheritance in unity?
What is an example of genetic polymorphism?
What is abstraction in oop with example?
what type of question are asked in thoughtworks pair programming round ?
What is abstraction encapsulation?
what is the sylabus for priliminaries?
What is the purpose of enum?
which feature are not hold visual basic of oop?
What do you mean by abstraction?