Explain the concept of 'Subtype Polymorphism' without using code.
Last updated
Subtype polymorphism means treating different derived types uniformly through a shared supertype (base class or interface), with each responding to the same request in its own way.
Any subtype can stand in wherever the supertype is expected (Liskov Substitution), like a manager telling every employee to "submit your report" without knowing how each does it.
New subtypes can be added without changing existing callers.