public class Test{
public static void main(String[] args) {
try{
wait();
}catch(InterupttedException e){
System.out.println(e);
}
}
output of this code?
Risposta di colloquio
Anonimo
15 dic 2017
Cannot make a static reference to the non-static method wait() from the type Object