Polymorphism

Polymorphism is a [design pattern] supported by object-oriented programming languages. Polymorphism means that objects of different types can be treated as the same type, due to the objects sharing a common interface.

Polymorphism enables flexible and modular code.