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
Why do we use polymorphism?
What is polymorphism what are the different types of polymorphism?
Can static class have constructor?
What is pure oop?
What is polymorphism give a real life example?
What language is oop?
Can we define a class within the interface?
Why is polymorphism used?
Write a program to reverse a string using recursive function?
What is encapsulation in simple terms?
What is encapsulation c#?
Why do pointers exist?
What are the two different types of polymorphism?
What is the difference between inheritance and polymorphism?
What does and I oop mean?