I read at several places that "The Singleton's purpose is to control object creation, limiting the number to one but allowing the flexibility to create more objects if the situation changes".
But nobody mentioned anything about how does this
pattern provides the flexibility to create more objects if situation demands more than one object.
Can anybody help me?