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 final method?
Can you inherit a constructor java?
What does opcode mean?
What is locale in java?
Define inheritance?
How can we avoid including a header more than once?
What is hash table in java?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
What are 3 data types?
What if constructor is protected in java?
What do you know about the garbage collector in java?
What is empty string literal in java?
Why main() method is public, static and void in java ?
What is the preferred size of a component in java programming?
Can we modify the throws clause of the superclass method while overriding it in the subclass?