Answer Posted / indu
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 ? | 20 Yes | 3 No |
Post New Answer View All Answers
Whats oop mean?
What is solid in oops?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
what are the ways in which a constructors can be called?
How to hide the base class functionality in Inheritance?
What is oops in programming?
What are objects in oop?
Can a destructor be called directly?
What is polymorphism what are the different types of polymorphism?
Why do we use polymorphism in oops?
What is encapsulation process?
to find out the minimum of two integer number of two different classes using friend function
What is an example of genetic polymorphism?
Why is encapsulation used?
What is polymorphism explain its types?