What is an Exception ? Give examples of few Exceptions found in Java.
Answers
Answered by
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