Question OOP-CLS-0020
HardWhich statement about the singleton pattern is correct?
- A.
It lets a class have one method only
- B.
It ensures a class has only one instance and provides a global point of access to it
- C.
Sign up free to see the answer and a step-by-step explanation.