1

Attach additional responsibilities to an object dynamically.It provides a flexible alternative to subclassing for extending functionality.

Correct Answer: decorator

Make the most of this question

This page focuses on one Software Design Modeling (SDM) question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Software Design Modeling (SDM) MCQ: Attach additional responsibilities to an object dynamically.It provides a flexible alternative to subclassing for extending functionality. | Extra Education