Card 40 / 72: What are the consequences of applying the GOF factory method pattern?
A)
it decouples the client code from the application specific classes
B)
it makes the designed product families exchangeable
C)
it establishes a flexible mechanism for instantiating an object in comparison to the usual java constructor instantiation.
Answer:
A) it decouples the client code from the application specific classes
C) it establishes a flexible mechanism for instantiating an object in comparison to the usual java constructor instantiation.
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |