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
What is parsing a string?
What is keyword and identifier?
You're given a Boolean 2D matrix, can you find the number of islands?
Why declare Main() method as a static in java ?
What's the default access specifier for variables and methods of a class?
Which of the classes will have more memory allocated?
Is there is any difference between a scrollbar and a scrollpane?
How to sort an array in java without using sort method?
What is ternary operator? Give an example.
What are the kinds of polymorphism?
How to store image in arraylist in java?
Explain the importance of throwable class and its methods?
What is a programming object?
Is ++ operator thread-safe in java?
Can we call the constructor of a class more than once for an object?