What happens if an exception is not handled in a program?
If an exception is not handled in a Java program, it propagates up the call stack until it is caught by an appropriate exception handler or until it reaches the top level (default exception handler), which may terminate the program.