“One and Only” — Understanding the Singleton Design Pattern

Sometimes in your application, you want only one instance of a class to exist.