7.11.9.What is the result of this code(wait and time)?
public class MainClass{ public static void main(String[] argv) throws Exception{
a();
} public static void a() throws
InterruptedException {
Thread t = new Thread();
t.start();
System.out.print("X");
t.wait(10000);
System.out.print("Y");
}
}