MCQs
Total Questions : 22
| Page 1 of 3 pages
Answer: Option A. -> Both of the above
Answer: Option A. -> Thread(Runnable threadOb, String threadName)
Answer: Option A. -> run()
Answer: Option B. -> The program does not compile because this cannot be referenced in a static method.
Answer: Option B. -> 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 C. -> 0 1
Answer: Option E. -> run-test run-test
Answer: Option A. -> Compilation succeed but Runtime Exception
Answer: Option A. -> The program compiles and runs and displays test.