Q22
In Java, what happens when a thread encounters an uncaught exception and terminates abruptly?
A.
The thread is paused indefinitely
B.
The JVM prints the exception trace and terminates the thread
AnswerC.
The thread resumes execution without any impact
D.
None of These
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board