Which of the following best demonstrates runtime polymorphism in Java?
Calling an overloaded method from the same class
Overriding a method in a subclass and calling it through a superclass reference
Using static methods with the same name in parent and child classes
Accessing private methods from subclasses
This question is part of this quiz :
Java Polymorphism and Packages