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
Can constructor be static or final?
Can the interface be final?
Why singleton is not thread safe?
Explain notify() method of object class ?
Where are the local variables stored?
How many types of flags are there?
What is one third plus one third as a fraction?
Is java 11 paid version?
Why hashset is used in java?
What are bind parameters?
What is a function in programming?
What is the difference between a vector & an array list?
What is parameters example?
What is the use of inner class?
What is "this" keyword in java? Explain