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 the base class in java from which all classes are derived?
What is the purpose of javac exe?
Convert a BST into a DLL and DLL to BST in place.
Difference between a class and an object?
What are java methods?
What is the difference between declaration and definition in java?
How is tree Mirroring implemented?
What is the Concept of Encapsulation in OOPS
You're given a Boolean 2D matrix, can you find the number of islands?
Write a program to print fibonacci series
Why pass by reference is not possible in java?
Which is the best approach for creating thread ?
Is empty string in java?
How do you remove duplicates from an array in java?
How to invoke external process in java.