- Polymorphism (from Greek, meaning “many forms”) is the mechanism that allows one interface/method/function/procedure to access a general class of actions.
- More generally, the concept of polymorphism is often expressed by the phrase “one interface, multiple methods.”
- This means that it is possible to design a generic interface to a group of related activities.
- Polymorphism helps reduce complexity by allowing the same interface to be used to specify a general class of action.
No comments:
Post a Comment