next up previous contents index
Next: Relation between classes Up: Essential features of object Previous: Inheritance   Contents   Index


Polymorphism

Polymorphism in OOP-Terminology means that a certain message may be implemented by different objects in different ways. A good example is the `display'-message sent to a number, a string of characters or a list. It is always the message 'display yourself!'. The object must know itself what has to be done and how, nobody cares as long as the object appears on the screen.

domain access counter Georg P. Loczewski 2004-03-05