MCQs
Total Questions : 86
| Page 1 of 9 pages
Answer: Option C. -> Both of the above
Answer: Option B. -> run()
Answer: Option A. -> The program does not compile because this cannot be referenced in a static method.
Answer: Option C. -> Thread(Runnable threadOb, String threadName)
Answer: Option C. -> The program compiles fine.
Answer: Option A. -> The program does not compile because the start() method is not defined in the Test class.
Answer: Option D. -> The program compiles and runs and displays test.
Answer: Option C. -> 0 1
Answer: Option A. -> run-test run-test
Answer: Option D. -> Compilation succeed but Runtime Exception