what do you meant by Runtime Polymorphism?
Answer Posted / sayali birari
Dynamic dispatch is a mechanism by which a call to Overridden function is resolved at runtime rather than at Compile time , and this is how Java implements Run time Polymorphism. In dynamic method dispatch,super class refers to subclass object and implements method overriding.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
java program with complete 4 oops concepts implemented example
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
How do you sort objects in java?
What is singleton class and how can we make a class singleton?
What is a boolean used for?
What is a values collection view ?
How do you start a thread?
What is mvc in java?
Can set contain duplicates?
When will we prefer to use set and list in java and why?
Name component subclasses that support painting in java programming?
Are variables stored in ram?
Can an abstract class be a final class?
What is hashing principle in java?
Why singleton class is used in java?