Question d’entretien chez BT Group

public class Test{ public static void main(String[] args) { try{ wait(); }catch(InterupttedException e){ System.out.println(e); } } output of this code?

Réponse à la question d'entretien

Utilisateur anonyme

15 déc. 2017

Cannot make a static reference to the non-static method wait() from the type Object