MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program?class Mythread extends Thread { Mythread() { super("New Thread..."); start(); } public void run() { System.out.println(this); } } public class multithreaded_programing { public static void main(String args[]) { new Mythread(); } } |
| A. | New Thread... |
| B. | [New Thread...,5,main] |
| C. | Thread[New Thread...,5,main] |
| D. | Thread |
| E. | None of these |
| Answer» D. Thread | |