Skip to main content

Polymorphism

Programming

The ability for one interface to work with many types.

Polymorphism lets code operate on values of different types through a common interface. In OOP it often means subclasses override methods of a base type, so a single call dispatches to the correct implementation at runtime.

← Back to full glossary