DEVFYI - Developer Resource - FYI

What happens if an exception is not caught?

Java Interview Questions and Answers (part 2)


(Continued from previous question...)

333. What happens if an exception is not caught?

An uncaught exception results in the uncaughtException() method of the thread's ThreadGroup being invoked, which eventually results in the termination of the program in which it is thrown.

(Continued on next question...)

Other Interview Questions