Singleton Design Pattern

Singleton is a design pattern for object construction. It falls under the category of "creational" design patterns. As the name somewhat suggests, it enables us to have one and only one instance of a class. This class will be a singleton class. In most cases, singleton objects are used to provide configuration settings or global... Continue Reading →

Create a free website or blog at WordPress.com.

Up ↑