Data Structures and Algorithms with Object-Oriented Design Patterns in Python
next up previous index

Polymorphism

Polymorphism  literally means ``having many forms.'' Polymorphism arises when a set of distinct classes share a common interface. Because the derived classes are distinct, their implementations may differ. However, because the derived classes share a common interface, instances of those classes are used in exactly the same way.




next up previous index

Bruno Copyright © 2003, 2004 by Bruno R. Preiss, P.Eng. All rights reserved.