Code Pumpkin

Tag Archives: Enum

Breaking Singleton using reflection and Enum Singleton

This is our fifth article in the series of Singleton Design Pattern. The purpose of the singleton class is to control object creation, limiting the number of objects to only one. In our previous articles, we have discussed how we can create Singleton Design Pattern in Single-threaded and multithreaded environment. We have also discussed how we can […]

Total Posts : 88
Contribute Your Articles

Interview Experiences

Subscribe Us

Like Us On Facebook