logo

Crowdly

Browser

Додати до Chrome

A developer creates a Bird superclass with a fly() method. They then create an...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

A developer creates a Bird superclass with a fly() method. They then create an Ostrich subclass that extends Bird. Because ostriches cannot fly, the developer overrides the fly() method in the Ostrich class to immediately throw an UnsupportedOperationException. Which SOLID principle does this specific design directly violate?

0%
0%
100%
0%
0%
Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на learning.monash.edu?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome