1.

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

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


Discussion

No Comment Found

Related MCQs