Polymorphism


| Site Map | Home Page | OOP Concepts | OOP Design | Glossary | Evaluation/Comments |

Polymorphism means the ability to request that the same Operations be performed by a wide range of different types of things.

Effectively, this means that you can ask many different objects to perform the same action.

EXAMPLE

If counters are to be moved, say counter RED 3, you would invoke an operation called MOVE. From a users perspective, all counters behave the same way.

If counters are built differently and are off different class, provided they can respond to the same operation name, the user's intentions are realised.


Click here to try Polymorphism Test

<< Inheritance


Links to the rest of the site:
| Site Map | Home Page | OOP Concepts | OOP Design | Glossary | Evaluation/Comments |

Author: Deniz Zubair Choudhury
Last Update: May 1999