Styrow.dev
Question 205 of 247
Java Topic: General medium

Why Errors are Not Checked?

Question

Why Errors are Not Checked?

Answer

A unchecked exception classes which are the error classes (Error and its subclasses) are exempted from compile-time checking because they can occur at many points in the program and recovery from them is difficult or impossible. A program declaring such exceptions would be pointlessly.