Polymorphism

Polymorphism enables one interface to be used for a general set of actions. You develop self-contained, generic methods that can be used in a variety of situations. For example, a spell checker program is designed so that any application can use it. Each application must simply provide an interface to access the spell checker and provide data interpretation. The use of polymorphism in an object-oriented design enables you to develop one method that can be used in a variety of situations.