what do you meant by Runtime Polymorphism?

Answer Posted / sayali birari

Dynamic dispatch is a mechanism by which a call to Overridden function is resolved at runtime rather than at Compile time , and this is how Java implements Run time Polymorphism. In dynamic method dispatch,super class refers to subclass object and implements method overriding.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is reverse function?

668


What is constructor and virtual function? Can we call a virtual function in a constructor?

762


What isan abstract class and when do you use it?

1001


Why deletion in linkedlist is fast than arraylist?

616


What is callablestatement? How you can call stored procedure to pass in parameter?

631






What are passing parameters?

680


Explain features of interfaces in java?

641


What is the significance of listiterator?

655


What is data and its types?

661


Difference between operator overloading and function overloading

693


Define immutable object?

680


What is the purpose of methodology?

735


What is the driver class?

658


Does java runtime require a license?

660


What is difference between c++ and java ?

762