Exam (elaborations)
Core Java 19 topics Questions and Answers
- Course
- Institution
/ * THREADS-0 */ 1Q.What will be the output of the program? class MyThread extends Thread { public static void main(String [] args) { MyThread t = new MyThread(); (); S("one. "); (); S("two. ");} public void run() { S("Thread "); }} ans : an exception occurs at runtime. 2Q.Which of t...
[Show more]