Java Design Patterns Question:

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.


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