Java Design Patterns Question:
Download Questions PDF

What is Singleton pattern?

Java Patterns Interview Question
Java Patterns Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
How do you write a Thread Safe Singleton?What are Process Patterns?