Open main menu

CDOT Wiki β

Changes

Singleton

45 bytes added, 17:59, 8 March 2007
no edit summary
*If an instance already exists, it simply returns a reference to that object.
*To make sure that the object cannot be instantiated any other way, the constructor is made either private or protected.
 
==UML Diagram==
[[Image:Singleton_UML.png]]
1
edit