An exception is an error that occurs during the execution of a program at run-time that disrupts the normal flow of the Java program. code example
Example: what is exception in java
An exception is an event, which occurs during the execution of a
program, that disrupts the normal flow of the program's instructions.