What is the output for the below code ? public class Test extends Thread{ public static void main(String argv[]){ Test b = new Test(); b.start(); } public void run(){ System.out.println("Running"); } }
Compilation clean and run but no output
Compilation and run with the output "Running"
Compile time error with complaint of no Thread import
Compile time error with complaint of no access to Thread package