Singleton Design Pattern

In this article,we will discuss
1. What is Singleton Design Pattern
2. Singleton as Creational Pattern
3. Implementation Guidelines
4. How do we implement a Singleton class

Singleton Pattern belongs to Creational type pattern. As discussed in our previous article, Gang of four have defined five design patterns that belongs to creational design type category. Singleton is one among them and the rest are Factory, Abstract Factory, Builder and Prototype patterns. As the name implies, creational design type deals with object creation mechanisms. Basically, to simplify this, creational pattern explain us the creation of objects in a manner suitable to a given situation. Continue reading “Singleton Design Pattern”

Create a free website or blog at WordPress.com.

Up ↑

Design a site like this with WordPress.com
Get started