Explain me what are the differences between Checked Exception and Unchecked Exception?

Submitted by: Muhammad
Checked Exception:
☛ The classes that extend Throwable class except RuntimeException and Error are known as checked exceptions.
☛ Checked exceptions are checked at compile-time.
☛ Example: IOException, SQLException etc.

Unchecked Exception:
☛ The classes that extend RuntimeException are known as unchecked exceptions.
☛ Unchecked exceptions are not checked at compile-time.
☛ Example: ArithmeticException, NullPointerException etc.
Submitted by: Muhammad

Read Online Sr.Java Web Developer Job Interview Questions And Answers