Pergunta de entrevista da empresa BT Group

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

Resposta da entrevista

Sigiloso

15 de dez. de 2017

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