Sr.Java Web Developer Question:
Download Questions PDF

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

Sr.Java Web Developer Interview Question
Sr.Java Web Developer Interview Question

Answer:

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.

Download Sr.Java Web Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us what are the common issues you have faced in web applications and how did you resolve them?Explain me how to integrate Spring and Hibernate Frameworks?