Need Assistance?

support@tutorialshub.in

Inheritance, Polymorphism & Abstraction

Method Overriding (Runtime Polymorphism)

ADVERTISEMENT
Java Free Lesson
5 min read
ADVERTISEMENT

When a subclass provides its own implementation of a parent method with the same signature, it is called Method Overriding (annotated with @Override). The JVM decides which version to run at runtime based on the actual object type (Dynamic Method Dispatch).

ADVERTISEMENT
Hi, I'm Tuby! Here to help you