+ 1

What is main by check exceptiona?

3rd Sep 2016, 2:43 PM
Naina Pardeshi
2 Answers
+ 1
exceptions are of two types : checked ( compile time ) & unchecked ( runtime ) check exceptions need to be rectified lest your program wont work can use try & catch block
3rd Sep 2016, 4:36 PM
Harsh
+ 1
Checked exceptions will be caught during compile time like FileNotFoundException. You need to sorround the code with try / catch block or make method as throws that exception
3rd Sep 2016, 6:06 PM
Mahender
Mahender - avatar