Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Select all that are true about decorators:
A decorator maintains a reference to the component object it wraps.
Objects can be decorated at runtime (with as many decorators as desired).
Decorators have the same supertype as the object they decorate.
A decorator adds its own behaviour before and/or after delegating to the object it decorates.
A decorator must be a subclass of the concrete component it wraps.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!