DEV Community

Gilbert Ngeno
Gilbert Ngeno

Posted on

What is an example of the Liskov Substitution Principle?

I have heard that the Liskov Substitution Principle (LSP) is a fundamental principle of object oriented design. What is it and what are some examples of its use?

Top comments (0)