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 application tier?
How do you convert int to char in java?
Why do we need variables?
Can java program run without jre?
What is printwriter in java?
What is the tradeoff between using an unordered array versus an ordered array?
Why we use protected in java?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What do you mean by aggregation?
What does t in java mean?
Can we rethrow the same exception from catch handler?
What is an interface in java?
How can we create an immutable class in java?
What does percent mean in java?
What are the benefits of operations?