Question: What is the primary purpose of the Singleton design pattern? A . To enhance class inheritance. B . To create multiple instances of a class.
What is the primary purpose of the Singleton design pattern?
ATo enhance class inheritance.
BTo create multiple instances of a class.
CTo restrict the instantiation of a class to a single instance.
DTo implement the Observer pattern.
which option is correct?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
