Where is polymorphism used?

Polymorphism is the ability of an object to take on many forms. 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.

Sizin İçin Seçtik  What is polymorphism explain?

Leave a Reply

Your email address will not be published. Required fields are marked *

Where is polymorphism used?

Polymorphism is the ability of an object to take on many forms. 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.

Sizin İçin Seçtik  What is multilevel inheritance in java?

Leave a Reply

Your email address will not be published. Required fields are marked *