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 are oops methods?
Why do we need polymorphism in c#?
program for insertion ,deletion,sorting in double link list
Can we create object of abstract class?
How Do you Code Composition and Aggregation in C++ ?
any one please tell me the purpose of operator overloading
Why multiple inheritance is not allowed?
What are the features of oop?
What is this pointer in oop?
What is an example of genetic polymorphism?
What are the advantages of polymorphism?
What is encapsulation with example?
What do you mean by overloading?
What is oops with example?
Can we create object of interface?