Singleton design pattern in Java
In this article we will look into singleton design pattern in java and try to explore different ways to create singleton and some of its best practices. And also look how to break singleton. Introduction Singleton design pattern is creational design pattern this is used to ensure that a class has only one instance and … Read more