What is runtime polymorphism or dynamic method dispatch in java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is runtime polymorphism or dynamic method dispatch in java?

25th Nov 2018, 9:23 AM
SACHIN PAGARE
SACHIN PAGARE - avatar
2 Answers
+ 1
I don't want to paraphrase or take credit for this article, so I'm just going to post the link. https://www.geeksforgeeks.org/dynamic-method-dispatch-runtime-polymorphism-java/ This was a very detailed description of exactly what you're asking about. Hope it helps!
26th Nov 2018, 1:31 PM
Kurtis Odom
Kurtis Odom - avatar
+ 1
In Java, runtime polymorphism or dynamic method dispatch is a process in which a call to an overridden method is resolved at runtime rather than at compile-time. In this process, an overridden method is called through the reference variable of a superclass.
29th Nov 2018, 3:51 PM
SACHIN PAGARE
SACHIN PAGARE - avatar