Computer scienceFundamentalsEssentialsSoftware constructionIntroduction to Design Principles and SOLID

Liskov Substitution Principle

Possible substitutions

Report a typo

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

In what cases can we substitute the superclass with any of its subclasses?

Select one or more options from the list
___

Create a free account to access the full topic