What is the output of this program? (a) Thread[main,5,main] (b) Thread[5,main] (c) Thread[main,0] (d) Thread[main,5] class Test

Question:

What is the output of this program?

class Test { public static void main(String args[]) { Thread t = Thread.currentThread (); System.out.println

(a) Thread[main,5,main]

(b) Thread[5,main]

(c) Thread[main,0]

(d) Thread[main,5]

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: