singleton_pattern

Singleton Design Pattern

The Singleton Pattern ensures a class has only one instance, and provides a global point of access to it.