Question d’entretien chez UBS

What does the "static" keyword mean?

Réponse à la question d'entretien

Utilisateur anonyme

27 févr. 2018

The static keyword denotes that a member variable, or method, can be accessed without requiring an instantiation of the class to which it belongs. In simple terms, it means that you can call a method, even if you've never created the object to which it belongs!