Getting Started with Java
This is a 100% free course, but we need you to first join or login to watch this video.
Alright, join or login here.This video introduces the concept of Polymorphism in Java. Polymorphism states that a superclass reference variable can point to an object of the subclass type and call only those methods from the subclass that it is aware of. This property lets you have the same superclass variable point to different subclass objects and call the overridden version of the superclass method from each object. It is known as dynamic method dispatch or run time polymorphism.