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.
Post:562
Points:2810What 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.