Singleton Design Pattern

A Singleton design Pattern is a very simple design pattern where only one instance(object) is created for a Class.

And the Object can be accessed publicly, however only one instance will be there available through out its life time.

In Java, Singleton Pattern can be easily implemented by making the constructor to private and provide another method or function to create/pull the single instance created.