L: Liskov Substitution Principle

Before Applying LSP

After Applying LSP