[go: up one dir, main page]

0% 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.

Uploaded by

ETL LABS
Copyright
© © All Rights Reserved
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% 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.

Uploaded by

ETL LABS
Copyright
© © All Rights Reserved
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
You are on page 1/ 2

Polymorphism

ETL LABS PVT LTD – JAVA PROGRAMMING 163


Polymorphism

Polymorphism means "many


forms", and it occurs when we
have many classes that are
related to each other by
inheritance.

Polymorphism uses those


methods to perform different
tasks. This allows us to perform a
single action in different ways.

ETL LABS PVT LTD – JAVA PROGRAMMING 164

You might also like