What is Singleton Design Pattern?
The singleton pattern is one of the best-known patterns in software engineering.
Essentially, a singleton is a class that only allows a single instance of itself to be created and usually gives simple access to that instance.