Changes

Jump to: navigation, search

Singleton

2 bytes removed, 18:54, 8 March 2007
no edit summary
==Implementation==
**Singleton pattern is implemented by creating a class with a method that creates a new instance of the object if one does not exist.**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.
1
edit

Navigation menu