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
What is a constructor overloading in java?
Can a class have a static inner class?
Can this keyword be used to refer static members?
Have you ever used hashtable and dictionary?
Can we have multiple catch block for a try block?
Why are functions called methods in java?
Explain where variables are created in memory?
What is a variable simple definition?
Why is stringbuffer faster than string?
What is the largest number a double can hold?
List down the methods and interfaces of collection class in java.
Define jre i.e. Java runtime environment?
how we can create packages in java?
What is the core java?
What do you mean by byte code?