Checked
exceptions are the one for which there is a check by the compiler that
these exceptions have to be caught or specified with throws keyword.
These kind of exceptions occur because of conditions which are out of
control of the application like Network error, File Access Denied etc.
Unchecked
exceptions are the one which arise because of logic written by the
developer. e.g. Trying to access an array element which doesn’t exist.
Posted in: