Live quiz

java - Part 50

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following program code? public class Test implements Runnable{ public static void main(String[] args){ Thread t = new Thread(this); t.start(); } public void run(){ System.out.println("test"); } }

  • A
  • B
  • C
  • D