JAVA: Why Errors are Unchecked?

JAVA: Why Errors are Unchecked?

Error is unpredictable. It can occur at any point and recover is also quite impossible. So it is meaningless to declare such exception. That’s why, in java, error is unchecked.

Close