Singleton Design Pattern

The singleton pattern ensures that, "A class has only one instance and provides a global point of access to it". It comes under the creational design pattern. Just think about that, you have a class and singleton pattern helps you to make it impossible to instantiate that class except for a single time and whenever … Continue reading Singleton Design Pattern