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
Write a program to sort the number with different sorts in one program ??
What is destructor example?
What are the benefits of polymorphism?
What is destructor give example?
What is the purpose of polymorphism?
What is an example of genetic polymorphism?
What is polymorphism and its types?
What polymorphism means?
Why do we use polymorphism in oops?
What is polymorphism in oops with example?
What are classes oop?
What is a class oop?
Where You Can Use Interface in your Project
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What are the 4 main oop principles?