Pearson Interview Question

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

Interview Answer

Anonymous

Dec 8, 2017

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