Substitutability

We can replace an object of Animal type with object of Cat type.

More formally — Liskov Substitution Principle.


Backlinks