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
What is an advantage of polymorphism?
What is polymorphism programming?
What is the benefit of oop?
program for insertion ,deletion,sorting in double link list
What is polymorphism and types?
How to call a non virtual function in the derived class by using base class pointer
Get me an image implementation program.
What makes a language oop?
What does I oop mean?
hi all..i want to know oops concepts clearly can any1 explain??
What is class in oop with example?
Why is polymorphism used?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is object in oop with example?
What is encapsulation with real life example?