what is dynamic method dispatch ?
Answer Posted / arijit
Java uses this fact to resolve calls to overridden methods
at run time. Here’s
how. When an overridden method is called through a
superclass reference, Java determines
which version of that method to execute based upon the type
of the object being referred to at the
time the call occurs. Thus, this determination is made at
run time with the help of dynamic method dispatch .
| Is This Answer Correct ? | 31 Yes | 4 No |
Post New Answer View All Answers
Is arraylist dynamic in java?
How infinite loop is declared?
Why declare Main() method as a static in java ?
How to store image in arraylist in java?
Why can't we make a class private in java?
Tell me the latest versions in java related areas?
What about abstract classes in java?
Explain the difference between private, public, package and protected in java?
Can two objects have same hashcode?
What are benefits of java?
What is computer compiler?
Is null a string in java?
What is java argument list?
What are the problems faced by java programmers who don't use layout managers?
What is string value?