Tutorials‎ > ‎Design Principles‎ > ‎

The Liskov Substitution Principle

Design Principles

Subclasses should be substitutable for their base classes. Derived classes should be substitutable for their base classes. That is, a user of a base class should continue to function properly if a derivative of that base class is passed to it.
Comments