1.

What is the output of this program?
public class multithreading_SimpleExample
{
public static void main(String args[])
{
Thread thread = Thread.currentThread();
System.out.println(thread);
}
}

A. Thread
B. Main
C. 5
D. Thread[main,5,main]
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs