Polymorphism allows classes that are related through inheritance to take on different forms, so that methods can perform different tasks depending on the object they are acting on. This enables a single action to be performed in different ways depending on the object.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
73 views2 pages
Polymorph Is M
Polymorphism allows classes that are related through inheritance to take on different forms, so that methods can perform different tasks depending on the object they are acting on. This enables a single action to be performed in different ways depending on the object.