Answer Posted / srinivas
in hirarchie, when sub class overrides the super class
metthod
then we call that method using the super class reference
then which version of method is called is resolved at run
time based on the object that the reference refers to is
called dynamic polymorphisum or dynamic binding.and also
called run time polymorphisum
| Is This Answer Correct ? | 68 Yes | 7 No |
Post New Answer View All Answers
Which language is not a true object oriented programming language?
What is encapsulation in oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Why is polymorphism important in oop? What is purpose of inheritance? Can we create object of abstract class? Why do we use inheritance? INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE
METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN
A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS? Which is better struts or spring? Advantage and disadvantage of routing in telecom sector What is a class and object? What is difference between inheritance and polymorphism? What is static modifier? Why interface is used? Why do we use polymorphism?