Skip to main content

Posts

Showing posts from October, 2018

[Brainshare] Singleton Design pattern

What is Singleton Design Pattern: A class has only SINGLE instance and provide a global access to it. Usage of Singleton Design Pattern: https://stackoverflow.com/a/3192124/4955676 Type of Singleton Design Pattern: [code] Singleton Class - READ MORE [code] Lazy Initialization - READ MORE [code] Thread Safe - READ MORE Singleton Design Pattern Video Book