Card 36 / 72: Which design pattern you would you use to control the creation of an object based on a established interface, while allowing the concrete implementation to determine the subclass to construct.
A)
Singleton design pattern
B)
Builder Factory design pattern
C)
Prototype factory design pattern
D)
Factory method design pattern
Answer:
D) Factory method design pattern
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |