单项选择题

欲动态地给一个对象添加职责,宜采用()模式。

A.适配器(Adapter)
B.桥接(Bridge)
C.组合(Composite)
D.装饰器(Decorator)