Code Pumpkin

Tag Archives: Cloning

Preventing Cloning in Singleton Design Pattern

January 13, 2018
Posted by Abhi Andhariya

This is our third article on 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 two articles, we have discussed how we can create Singleton Design Pattern in Single-threaded and multithreaded environment. In this article, we will discuss how we can […]

Total Posts : 122
follow us in feedly
Contribute Your Articles

Subscribe Us

Like Us On Facebook