Pregunta de entrevista de BT Group

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

Respuesta de la entrevista

Anónimo

15 dic 2017

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