What is an exception in Java?
An exception is an error that occurs during program execution and it stops the program from running.
You're on the right track! While exceptions can cause issues, they do not necessarily stop the program; they can be handled and the program can continue.
Can you explain how exception handling helps keep a program running smoothly?