Part 5.1 — Polymorphism | Classes
Polymorphism is closely linked with inheritance, but it can also be used separately. Polymorphism can be defined as follows, and these definitions will be correct:
- The ability to use an object without knowing its actual type.