Professional Documents
Culture Documents
You have an application where an employee of the company is logging in to perform some Employee specific
operations. So, whenever he logs in, an employee related instance is created. There in, only 1 instance should
be valid at a single point in time. This is possible via singleton class.