Tag: SingleTon Object

SingleTon Object

Introduction Sometime we need a class that has to be instantiated only once. That means we cannot have more than one instance for a class. Here singleton comes into picture. Singleton object is not a new thing come from oops concept. Let us read how easy it is. Implementation Typically every class is instantiated using […]

SingleTon Object

Introduction Sometime we need a class that has to be instantiated only once. That means we cannot have more than one instance for a class. Here singleton comes into picture. Singleton object is not a new thing come from oops concept. Let us read how easy it is. Implementation Typically every class is instantiated using […]