Pregunta de entrevista de Warner Bros. Discovery

What's a singleton?

Respuesta de la entrevista

Anónimo

21 jun 2012

Based on the Singleton pattern, it restricts class instantiation to only one object. Think of static classes and variables in .NET. You can only create one instance of them.