What are two capabilities of the Decorator pattern?

What are two capabilities of the Decorator pattern? (Choose two.)

What are two capabilities of the Decorator pattern? (Choose two.)

A.
Provides a unified interface to a subsystem

B.
Converts the interface of a class into another interface

C.
Is used when the base class is unavailable for subclassing

D.
Promotes loose coupling by keeping objects from referring to each other

E.
Modifies responsibilities to individual objects dynamically and transparently

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *