Polymorphism in Java
Polymorphism means "many forms." It's what lets a method behave differently depending on which object calls it, usually through overriding in a subclass.
Polymorphism means "many forms." It's what lets a method behave differently depending on which object calls it, usually through overriding in a subclass.