Java Design Patterns Question:

What is Singleton pattern?

Tweet Share WhatsApp

Answer:

Singleton pattern is one of the design patterns that is utilized for restricting instantiation of a class to one or few specific objects. This facility is particularly useful when the system requires to coordinate the actions with exactly one object.

Download Java Patterns PDF Read All 29 Java Patterns Questions
Previous QuestionNext Question
How do you write a Thread Safe Singleton?What are Process Patterns?