Skip to content

Glossary: Java Beyond the Basics

Polymorphism

Using one type to stand for many: a List<Discount> holds PercentOff and AmountOff, and each runs its own version of apply.

Where the book teaches it

Related terms

InterfaceInheritance