

McqMate
Q. |
When would you use the GOF Composite design pattern? |
A. | to decouple an abstraction from its implementation so that the two can vary independently |
B. | to translates an existing class interface into a compatible target interface |
C. | to arrange object hierarchies such that the client code can access both the individual objects and compositions in a uniform manner |
D. | to improve the system overall performance |
Answer» C. to arrange object hierarchies such that the client code can access both the individual objects and compositions in a uniform manner |
View all MCQs in
Software Design Modeling (SDM)No comments yet