1

When would you use the GOF Decorator design pattern?

Correct Answer: to assign more functionality to an object without sub-classing it

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: When would you use the GOF Decorator design pattern? | Extra Education