What is Singleton class in Java?

DWQA QuestionsCategory: JavaWhat is Singleton class in Java?
Editor Staff asked 6 months ago

What is Singleton class in Java?

1 Answers
Editor Staff answered 6 months ago

Singleton class regulates the creation of the object, limits the number to 1 but permits the flexibility for creating objects if any condition changes.