Question d’entretien chez Caliber Software

Can a static class be instantiated?

Réponse à la question d'entretien

Utilisateur anonyme

2 nov. 2020

You cannot use the new keyword to create a variable of the class type. Because there is no instance variable, you access the members of a static class by using the class name itself.