what is dynamic method dispatch ?

Answers were Sorted based on User's Feedback



what is dynamic method dispatch ?..

Answer / sugita muruganandam

Dynamic dispatch is a technique in which a super class method is delegated in a sub class during the run time.Bases on the type of the object the methods are invoked at the run time.Even though,over ridding uses the dynamic dispatch method it cannot be related to over ridding.Because over ridding is redefining of methods in sub class whereas it not the case in dynamic dispatch.

Is This Answer Correct ?    0 Yes 0 No

what is dynamic method dispatch ?..

Answer / sangita pramanik

Dynamic method dispatch is a technique by which a call to a
overridden method is resolved at runtime rather than compile
time..this is how java implements runtime polymorphism.

Is This Answer Correct ?    0 Yes 0 No

what is dynamic method dispatch ?..

Answer / adtiya jain

Dynamic Dispatch method is the mechanism to achieve run
time polymorphism.

problem::-->
1. three class 'A','B' ,'C' each extends each other in
multiple inheritance.
2. each class have call_me function (means overriden)
3. a call_me function only call of sub_class method
solution ::-->
a dynamic dispatch method provide a facility to run
child class function
to more detail and your question
email me dheraj.jain.1988@gmail.com

Is This Answer Correct ?    4 Yes 5 No

what is dynamic method dispatch ?..

Answer / sherin chacko

Dynamic method dispatch is an important mechanism in java is used to implement run time polymorphism.In this mechanism, method overriding is resolved at run time instead of compile time.that means,the choice of the overridden method to be executed in response to a method call is done at run time.

Is This Answer Correct ?    0 Yes 1 No

what is dynamic method dispatch ?..

Answer / guest

For correct answer please type question and mail it to
raveesh.pintu@gmail.com


with your answer

Is This Answer Correct ?    19 Yes 25 No

what is dynamic method dispatch ?..

Answer / rakesh

supre class methods only call

Is This Answer Correct ?    12 Yes 22 No

what is dynamic method dispatch ?..

Answer / guest

sdf

Is This Answer Correct ?    9 Yes 29 No

Post New Answer

More Core Java Interview Questions

Hi friends i want display Triangle shap stars(*) please can tell me any one java code logic? * *** ***** ******* Like this

2 Answers   NIIT, TCS,


what is the difference between the "protected and default" modifiers?

8 Answers  


Explain the scope or life time of class variables or static variables?

0 Answers  


Is Constructor possible in abstract class in java ?

0 Answers   HCL,


Can we print null in java?

0 Answers  






What is a treemap in java?

0 Answers  


What is the Difference between Final Class && Abstract Class?

0 Answers   HCL,


What is Vector?Can you elaborate how Vector is Thread safe?

3 Answers   HCL,


What are heterogeneous objects?

0 Answers  


Is the milky way in a void?

0 Answers  


What are different exception types exceptions available in java ?

0 Answers  


How to know the host from which Applet is originated?

1 Answers   Wipro,


Categories