FOUR PILLARS · POLYMORPHISM

Polymorphism

One interface, many behaviours — chosen at compile time or runtime.

Choose a kind