WHAT IS DIFFERENCE BETWEEN CHECKED AND UNCHECKED EXCEPTION?

Amit Singh

Total Post:565

Points:2825
Posted by  Amit Singh
Java 
 956  View(s)
Ratings:
Rate this:
  1. Amit Singh

    Post:565

    Points:2825
    What is difference between Checked and Unchecked Exception?

    checked Exceptions must be dealt with in either a try/catch block or by declaring a "throws" in a method. Unchecked exceptions normally are Runtime exceptions like NullPointerException or ClassCastException.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!