Liskov Substitution Principle (LSP)
The "L" in the SOLID principles is the Liskov Substitution Principle or the LSP.
In this BLOG, I had mentioned the definition of the LSP.
Subtypes must be substitutable for their base types without altering the correctness of the program. Essentially...
designpatterns.hashnode.dev7 min read