Question 16
Which GoF structural design pattern dynamically attaches additional responsibilities to an object at runtime as an alternative to subclassing?
Detailed Solution
Option C is correct. The Decorator Pattern dynamically adds new behavior or functionality to an object without altering its structure or using class inheritance.