LSP

SOLID Principles - Liskov Substitution Principle

The third of the SOLID Principles to cover is the letter L which is the Liskov Substitution Principle (LSP). What is the Liskov Substitution Principle (LSP)? The Liskov Substitution Principle (LSP) states that “Derived classes must be substitutable for their base classes".