What is runtime polymorphism or dynamic method dispatch?



What is runtime polymorphism or dynamic method dispatch?..

Answer / Vishal Maurya

"Runtime polymorphism, also known as dynamic method dispatch, occurs when a call to an overridden method is resolved at runtime based on the object's actual type". This allows objects of different classes that share a common superclass to be treated uniformly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Is ruby built on java?

1 Answers  


Explain importance of finally block in java?

1 Answers  


class A{ class B{ } } in which name u save the file,its the program compile?

6 Answers   HCL,


What are class types in java?

1 Answers  


Why is multiple inheritance not supported in java?

1 Answers  


How big is a pointer?

1 Answers  


Can inner class be public in java?

1 Answers  


What is meant by anonymous class?

1 Answers  


What Is Composition?

1 Answers   IBS,


Why stringbuilder is not thread safe in java?

1 Answers  


How can I become a good programmer?

1 Answers  


Can I learn java in 3 months?

1 Answers  


Categories