Computer Science, asked by medhasonu06, 3 months ago

What is a singleton class?​

Answers

Answered by dhameliyadhruv8
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 ImperialGladiator
12

Singleton class :

A software design pattern that restricts the instantiation of a class to one "single" instance.

Similar questions