National_Instruments
200-500 · Question #199
The purpose of the singleton pattern is to...
The correct answer is B. ...have just one single instance of an object in the entire application. See the full explanation below for the reasoning.
Question
The purpose of the singleton pattern is to...
Options
- A...create applications that only a single user may use.
- B...have just one single instance of an object in the entire application.
- C...have only one instance of each object in a collection of objects.
How the community answered
(47 responses)- A6% (3)
- B85% (40)
- C9% (4)
Community Discussion
No community discussion yet for this question.