what is dynamic method dispatch ?
Answer Posted / aniruddha
It is the way by which run-time polymorphism is implemented
in java.Here a call to overridden method is resolved at
run-time rather than at compile-time,determining the type of
object,passed as the reference to the overridden
method.Hence,the compiler checks the compatible method with
the given object reference(whether it is base class or
derived class method).
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a flag variable?
Does treeset use compareto?
What is the difference between the prefix and postfix forms of the ++ operator?
What is static and final keyword in java?
what is mutual exclusion? : Java thread
What are the properties of thread?
What is the SimpleTimeZone class?
Explain all java features with real time examples
How many types of threads are there in java?
What is assembly language?
What is string immutability?
What is array initialization in java?
What is files manifesting?
What is the memory leak in java?
What is java objectoutputstream?