What is singleton software design patterns ?
Introduction of Singleton Design Pattern • What is Singleton Design Pattern? • Rules or Check list of Singleton Design Pattern? • Where do we use Singleton Design pattern? • Demo Code Example: • Normal Singleton Design Pattern • Without Thread Safe Singleton Design Pattern • Thread Safe Singleton Design Pattern What is Singleton Design Pattern? Singleton pattern is one of the simplest or lazy design patterns, general for all languages. Example C#, C++, Java and all OOPs supporting languages. This is type of creational design pattern. This pattern involves a single class which is responsible to create an object while making sure...
Comments
Post a Comment