Q. Attach additional responsibilities to an object dynamically.It provides a flexible alternative to subclassing for extending functionality. (Solved)
1. chain of responsibility
2. adapter
3. decorator
4. composite
- c. decorator
1. chain of responsibility
2. adapter
3. decorator
4. composite