Quiz Yourself: Singleton and Adapter Patterns
Quiz yourself on what you've learned about the singleton and adapter design patterns.
1
Which statement about the singleton pattern is true?
A)
The class can only have one instance.
B)
It is a creational design pattern.
C)
It gives global access to one instance of the class.
D)
All of the above
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.