Pearson interview question

What is a singleton pattern and why would you use one?

Interview Answer

Anonymous

8 Dec 2017

Exactly one object of the class can exist. Constructor is private.