Monday, November 26, 2018

Singleton

This article discusses the Singleton design pattern.

Singleton is a creational design pattern. Its purpose is to allow: (1) creating only one instance (object) of a class and (2) a global access to this instance. The pattern should be used when exactly one object is required to manage certain actions in the application (system).

No comments:

Post a Comment