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
What is java in simple terms?
What is difference between java and java ee?
What is a priority queue java?
For class CFoo { }; what default methods will the compiler generate for you>?
What is an infinite loop in java? Explain with an example.
Can we restart a thread already started in java?
What is meant by polymorphism?
What Is Composition?
What is math in java?
How do you create a bulleted list?
What is numeric function?
Explain the difference between map and flatmap stream operation?
what do you mean by marker interface in java?
What is == mean?
What is a file pointer?