+ 8
what is dynamic method dispatch in java??
if i learn of my own i will get only one method if i learn from you people i will get different programes different way of understanding so i asked you. if possible u give programe
5 Respostas
+ 6
thanku #chaoticdawg #asmaa khaled
+ 5
welcome... are you mean "chaotic dawg"? :(
+ 4
Here's a decent explanation;
https://www.geeksforgeeks.org/dynamic-method-dispatch-runtime-polymorphism-java/
and another;
https://www.studytonight.com/java/dynamic-method-dispatch.php
+ 3
Dynamic method dispatch is a mechanism by which a call to an overridden method is resolved at runtime. This is how java implements runtime polymorphism. When an overridden method is called by a reference, java determines which version of that method to execute based on the type of object it refer to. In simple words the type of object which it referred determines which version of overridden method will be called.
+ 1
Based on Base Class reference we can create object of sub class