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
What is meant by object oriented programming – oop?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
Which of the following classes will have more memory allocated?
In how many ways we can do synchronization in java?
How do you declare a variable?
What is visibility mode?
What do you understand by java?
What is the importance of static variable?
What does index mean in java?
What does 0 mean in boolean?
How big is a 32 bit integer?
Why do we need hashset in java?
Can we define package statement after import statement in java?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
How does hashmap work in java ?