Liskov Substitution Principle (LSP)
LSP is one of the five SOLID principles of object-oriented programming, introduced by Barbara Liskov in a 1987 paper. The principle emphasizes the importance of maintaining the expected behavior of a program when using inheritance and polymorphism.
I...
chetan77.hashnode.dev4 min read