Pregunta de entrevista de The Home Depot

What is a Singleton class?

Respuesta de la entrevista

Anónimo

18 may 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