what is dynamic method dispatch ?
Answer Posted / badrudiin
in cPP,virtual function is used to implement runtime
polymorphism(dynamic binding), similarly java uses dynamic
method dispach to implement dynamic binding.
Dynamic method dispatch is the mechanism by which a call to
an overridden method is resolved at run time, rather than
compile time.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to sort a collection of custom Objects in Java?
Why inputstreamreader is used in java?
Is array passed by reference in java?
What is a java object and java application?
What is percentage in java?
Can you explain the meaning of aggregation and composition
Is java owned by oracle?
What are the differences between abstract class and interface?
What is the use of arrays tostring () in java?
What is map in java?
Explain the inheritance?
State one difference between a template class and class template.
Can you override private or static method in java?
What types of index data structures can you have in java?
Explain implementation and how is it different from conversion?