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
Can I extend singleton class in java?
Explain when we should make an instance variable private.
Can we create a class inside a class in java?
What is the difference between a choice and a list?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is a website container?
What is sizeof () operator?
Define immutable object?
What is the technique adopted to create an immutable class?
Why multiple inheritance is not supported by java?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
What is the final class?
What is the difference between class & object?
How does linkedhashmap work in java?