MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program? class newthread extends Thread { Thread t; newthread() { t = new Thread(this,"New Thread"); t.start(); } public void run() { System.out.println(t.isAlive()); } } class multithreaded_programing { public static void main(String args[]) { new newthread(); } } |
| A. | 0 |
| B. | 1 |
| C. | True |
| D. | False |
| Answer» D. False | |