1. |
The general purpose of the Singleton pattern is to:
Please select the best answer.
|
|
A. |
Ensure that no more than one instance of a class exists. |
|
B. |
Ensure that only one instance of a class exists at the same time. |
|
C. |
Separate objects in a single class from objects in another class. |
|
D. |
Control creation of objects in a single class or another class. |