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 Major and importance difference between for and foreach loop ?
What is the difference between object oriented programming language and object based programming language?
What are the advantages of java over cpp?
What is the use of default method in interface in java?
How to restrict a member of a class from inheriting by its sub classes?
What is the Concept of Encapsulation in OOPS
Can we have any code between try and finally blocks?
What is the indent key?
What is numeric data type?
How many types of memory areas are allocated by JVM in java?
How can you handle java exceptions?
What is getkey () in java?
How do you reverse sort a list in java?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
How do you identify if jvm is 32-bit or 64-bit from java program?