JAVA DESIGN PATTERN Questions and Answers

Mention what is the limitation of using singleton pattern?

The singleton pattern ensures that a class has only one instance and to provide a global point of access to it.  But at the same time this becomes its limitation as most classes in an application you will need to create multiple instances.