What happens if an exception is not caught | Eklavya Online

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.