1. LSP Stéphane Ducasse --- 2005 2. 3. A step deeper in Subtyping... 4. Liskov Substitution Principle (LSP) if for each object o1 of type S there is another object o2…