1

When would you use the GOF Composite design pattern?

Correct Answer: to arrange object hierarchies such that the client code can access both the individual objects and compositions in a uniform manner

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 Composite design pattern? | Extra Education