Explained LSP With Simple Example.
The Liskov Substitution Principle states "objects of a superclass should be replaceable with objects of its subclasses without breaking the application. In other words, what we want is to have the objects of our subclasses behaving the same way as the objects of our superclass"
Playlist: • SOLID Design Principles
GitHub: https://github.com/AlmightyTricks/SOLID
0:00 - intro to LSP
0:19 - What is LSP
0:45 - LSP Explained with Example
5:53 - How to solve LSP issue
9:55 - LSP explained with practical example