Which structural design pattern dynamically attaches additional responsibilities and behavior to an object without modifying its original source code?
AAdapter Pattern
BProxy Pattern
CDecorator Pattern
DComposite Pattern
Explanation
The Decorator pattern wraps an object to dynamically extend its functionality at runtime without inheritance.

No Comments