Home > DeveloperSection > Interviews > In Java, what is run time polymorphism

Posted on    July-01-2015 1:04 AM

 Java Java 
 1 Answer(s)
  423  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    July-01-2015 1:04 AM

Polymorphism can be explained as an object's ability to adapt to the program's context and take multiple forms. The method overriding is an example of run time polymorphism. You can have a method in a subclass, which overrides the method in its super classes with the same name and signature. At run time, Java virtual machine determines the appropriate method to be called.

Don't want to miss updates? Please click the below button!

Follow MindStick