What happens if an exception is not caught in Java?
The exception is ignored and the program continues as usual.
That's incorrect. If an exception is not caught, it can cause the program to terminate unexpectedly.
Can you explain how uncaught exceptions affect the program execution flow?