Checked Exception:
These exception are the object of the Exception class or any of its subclasses except Runtime Exception class. These condition arises due to invalid input, problem with your network connectivity and problem in database.java.io.IOException is a checked exception. This exception is thrown when there is an error in input-output operation. In this case operation is normally terminated.
List of Checked Exceptions are:
1. ClassNotFound
2. Instantiation
3.Illegal Access
4. Not Such Method
Unchecked Exceptions:
These Exception arises during run-time ,that occur due to invalid argument passed to method. The java Compiler does not check the program error during compilation
List of Unchecked Exceptions:
1. Arithmetic Exception
2. Class Cast Exception
3. Array Store Exception
4. Null Pointer Exception
Note: We can design the code in such a way to handle the Runtime Exception also. But it will degrade the Performance. That's why we are concentrating only on Compile time Exceptions.