Question d’entretien chez Warner Bros. Discovery

What's a singleton?

Réponse à la question d'entretien

Utilisateur anonyme

21 juin 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.