What do you mean by polymorphism in Java?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the Consultative Group for International Agricultural Research, Lives in Montpellier, France.
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.
2023-06-19 06:34:32
评论(499)
Helpful(122)
Helpful
Helpful(2)

Gabriel Martin
QuesHub.com delivers expert answers and knowledge to you.
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.