Live quiz

java - Part 51

Question 1 of 25 Hints left: 3
Q1

What will be output of the following program code? 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(); } }

  • A
  • B
  • C
  • D