Friday, August 17, 2012

Singleton Class/ Singleton Design Pattern


Singleton Class/ Singleton Design Pattern
a.       A class for which only one instance can be created.
b.      Provides global point of access
c.       It has the private constructor, so instance cannot be created.
d.      A singleton class cannot be inherited single the constructor is private

No comments: