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 the fundamental idea of oop?
write knight tour problem which is present in datastructure
What is polymorphism what are the different types of polymorphism?
What language is oop?
How do you define social class?
What do you mean by overloading?
What is for loop and its syntax?
What are the benefits of interface?
What causes polymorphism?
What exactly is polymorphism?
Why is polymorphism used?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is inheritance write a program to show use of inheritance?
write string class as your own class in java without using any built-in function
What is the real time example of encapsulation?