Card 47 / 72: When would you use the GOF Singleton design pattern?
A)
to ensure that a certain group of related objects are used together
B)
to limit the class instantiation to one object
C)
to provide global access to once instance across the system
D)
to abstract steps of construction of complex objects
Answer:
B) to limit the class instantiation to one object
C) to provide global access to once instance across the system
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |