Code Pumpkin

Tag Archives: Reflection API

Breaking Singleton using reflection and Enum Singleton

January 14, 2018
Posted by Abhi Andhariya

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 : 124
follow us in feedly
Contribute Your Articles

Cauvery Calling

Cauvery Calling

We may not get time to plant a tree, but we can definitely donate ₹42 per Tree.

Join us to save the planet Earth by donating at CodePumpkin Cauvery Calling Campaign.

Like Us On Facebook