Computer scienceFundamentalsEssentialsSoftware constructionIntroduction to Design Principles and SOLID

Liskov Substitution Principle

Methods for a vehicle

Report a typo

You have the superclass VEHICLE and three subclasses for it: CAR, AIRPLANE, HELICOPTER.

Choose what methods make sense for the superclass VEHICLE.

You should exclude any degenerate methods for any of its subclasses.

Select one or more options from the list
___

Create a free account to access the full topic