what is dynamic method dispatch ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean by stream pipelining in java 8? Explain

528


v-model life cycle

1616


Can we use String with switch case?

657


What is the difference between method overriding and overloading?

571


Why webdriver is an interface?

574






Explain methods specific to list interface?

551


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

583


Is java jre still free?

523


Can an integer be null java?

553


Can memory leak in java?

576


Can static methods be inherited?

531


describe method overloading

529


What is callablestatement? How you can call stored procedure to pass in parameter?

542


Write a program to print count of empty strings in java 8?

534


What is an association?

544