class A extends Thread { public void run() { System.out.print("A"); } } class B { public static void main (String[] args) { A a = new A(); a.start(); a.start(); // 1 } }
Run Time Exception
Compile Error
the code compile and runs fail
None of the above