Difference between Checked and Unchecked exception

Difference between Checked and Unchecked exception

- A checked exception throws a block of code and represented by the throws keyword. It is utilized to handle invalid criterions outside the control like invalid input, database issues, network outages, unavailable files.

- An unchecked exception is utilized for representing defects in the program like invalid arguments passed to methods.

- A checked exception need to be handled by try and catch blocks. A checked exception is a compile time exception.

- Unchecked exception is a runtime exception.
Why Runnable interface is preferable than extending the Thread class - Java
Runnable interface is always preferred because, the class implementing it can implement as many interfaces as a developer can, and also extend another class...
Difference between a java object reference and c++ pointer
The prime difference is that pointers are to locate the address of the primitive variables only...
What is JasperReports?
Jasper Report is a very popular open source reporting tool written in Java. The reports can be seen on the screen, on a printer...
Post your comment
Discussion Board
Some more differences
Good post , I have also shared my view as Difference between checked and unchecked exception in Java let me know how do you find it.

Javin 01-2-2012