Card 45 / 72: What are the consequences of applying the GOF Prototype pattern?
A)
each concrete prototype class must implement the clone method
B)
it makes it easier for a certain family of objects to work together
C)
it enable the client code to register an new concrete prototype instance at run time
D)
it reduces of the class hierarchy as compared to the other factory design patterns
Answer:
A) each concrete prototype class must implement the clone method
C) it enable the client code to register an new concrete prototype instance at run time
D) it reduces of the class hierarchy as compared to the other factory design patterns
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |