Answer Posted / hemin_sdek@yahoo.com
IT'S OVERRIDING A BASE CLASS DEFINITION AT RUN TIME.MEMBER
FUNCTION IN BASE CLASS AND DERIVED CLASS IS SAME. NORMALLY
IT INVOKE THE BASE CLASS DEFINITION IF BOTH FUNCTION NAME
IS SAME.BUT WE NEED TO ACCESS THE DERIVED CLASS DEFINITION
WE GO FOR VIRTUAL FUNCTION
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is the significance of classes in oop?
What is advantage of inheritance?
Advantage and disadvantage of routing in telecom sector
What is coupling in oops?
#include
What are two types of polymorphism?
What does enum stand for?
Explain the advantages of inheritance.
What is abstraction in oop with example?
What is object in oop with example?
Why is object oriented programming so hard?
What does and I oop mean in text?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What do you mean by overloading?
What is the point of polymorphism?