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 new keyword in oops?
Where is pseudocode used?
What is polymorphism programming?
What is the diamond problem in inheritance?
Why is abstraction needed?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is difference between inheritance and polymorphism?
can inline function declare in private part of class?
Can we have inheritance without polymorphism?
What is polymorphism and why is it important?
What are the benefits of polymorphism?
Why multiple inheritance is not possible?
which feature are not hold visual basic of oop?
Can we create object of abstract class?
What are properties in oop?