1.EECE 210: Software Design Type Hierarchies and the Substitution Principle2. Objectives • Apply the Liskov Substitution Principle (LSP) to the design of type hierarchies…