The Home Depot Interview Question

What is a Singleton class?

Interview Answer

Anonymous

May 18, 2021

A singleton is a class that can only have one Object at a time. Any future instantiations/variables will point to the original Object.

1