Computer Science, asked by TbiaSamishta, 1 year ago

What is an Exception ? Give examples of few Exceptions found in Java.

Answers

Answered by aqibkincsem
2

An exception is a problem that arises during the execution of a program.


When an Exception occurs the normal flow of the program is disrupted and the program/application terminates abnormally, which is not recommended, therefore, these exceptions are to be handled.


A checked exception is an exception that occurs at the compile time, these are also called as compile time exceptions.

Similar questions