Ajay Kumar Singh on January 28th, 2008

A singleton class can have only one object.
To create singleton class we need to block normal way of creating class by blocking access to the constructor and provide a new function which will return only one instance of the object.
This function will also perform checking to see if there is only one instance of that [...]

Continue reading about Singleton Class