Card 38 / 72: When would you use the GOF Factory method design pattern?
A)
To ensure that a certain group of related objects are used together
B)
To control the creation of an object based on a established interface
C)
To allow the concrete implementation to determine the subclass to construct.
D)
To abstract steps of construction of complex objects
Answer:
B) To control the creation of an object based on a established interface
C) To allow the concrete implementation to determine the subclass to construct.
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |