Question d’entretien chez Equifax

What does "static" mean in Java?

Réponses aux questions d'entretien

Utilisateur anonyme

10 juil. 2015

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

Utilisateur anonyme

25 avr. 2018

Static member variable or methods can be call directly on the class without creating an instance of Static class because static members or methods belong to the class and not the instance of that class.

1