How to implement Singleton pattern in Java?
In most interviews when candidates are asked about design patterns , the first answer that pops up is Singleton pattern! This pattern has been beaten to pulp ever since design patterns became mainstream. Still people can go wrong in effectively implementing it. This post looks into this pattern in detail. Singleton , as the name…