What is a singleton class?
Answers
Answered by
22
Answer:
In software engineering, the singleton pattern is a software design pattern that restricts the instantiation of a class to one "single" instance. This is useful when exactly one object is needed to coordinate actions across the system. The term comes from the mathematical concept of a singleton.
Answered by
12
Singleton class :
A software design pattern that restricts the instantiation of a class to one "single" instance.
Similar questions