+ 2
What is runtime polymorphism or dynamic method dispatch in java?
2 odpowiedzi
+ 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!
+ 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.