Singleton design pattern
Singleton design pattern is type of Creational Design pattern . It creates a single instance object which caters to all the clients.
Singleton Design pattern has :
It has private constructor so that instance of class cannot be created anywhere but inside its own methods.
It has static read only member so that instance is created only once .
It has an instance property to return singleton object instance