The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object . Any Java object that can pass more than one IS-A test is considered to be polymorphic.
The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object . Any Java object that can pass more than one IS-A test is considered to be polymorphic.