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


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.

Georg P. Loczewski 2004-03-05


Impressum und Datenschutz