Understand Singleton Design Pattern with Example- Easy way
In real world scenario Singleton Design Pattern is used where there is need of sharing a single object resource within scope with multiple clients restricting the creation of object for each method call. Singleton design pattern belongs to creational pattern as it deal with object creation and manipulation.