Card 29 / 72: When would you use the GOF abstract factory pattern?
A)
To design a structure which has a uniform interface for both compositions of objects and individual objects.
B)
To ensure that a certain group of related objects are used together
C)
The client which uses your design is not dependent on how the object are created or connected together
D)
To decouple the creation of objects from their usage
Answer:
B) To ensure that a certain group of related objects are used together
C) The client which uses your design is not dependent on how the object are created or connected together
D) To decouple the creation of objects from their usage
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |