Output : public class Test implements Runnable{public void run(){System.out.print("go");}public static void main(String arg[]){Thread t = new Thread(new Test()); t.run(); t.run(); t.start();}}
1.An exception is thrown at runtime.
2.
Posted Date:-2021-10-25 05:37:20