Which design pattern attach additional responsibilities to an object dynamically. It provides a flexible alternative to subclassing for extending functionality.
a. Strategy
b. Decorator
c. Composite
d. Adapter
#Java #DesignPattern
Jul 28, 2025 路 7:32 AM UTC

