LSP: Liskov Substitution Principle
LSP stands for Liskov Substitution Principle. It is one of the principles of Object-Oriented Design. Robert Cecil Martin¹ (widely known as Uncle Bob) introduces a number of principles in his famous book:
Agile Software Development, Principles, Patterns, and Practices
He described five OOD principles in this book. They are collectively known as the SOLID Principles. These…