Card 60 / 72: When would you use the GOF Composite design pattern?
A)
to decouple an abstraction from its implementation so that the two can vary independentl
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
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |