Interviews5 answers
What is an exception? difference between Checked and Unchecked exception in Java
5 Answers
unpredictable error come at run time that is called exception.
compile time error called checked and run time error that is called unchecked.
sameer shaikhPosted Dec 26, 2018, 6:24 AM EST
Unusual behavior of program called exception
Compile time exception called checked
Runtime exception called unchecked
Mukesh KumarPosted Oct 14, 2017, 6:27 PM EDT
Follow the link below.
http://www.c-sharpcorner.com/UploadFile/9a9e6f/exception-propagation-in-java/
Gopi ChandPosted May 26, 2015, 10:05 AM EDT
http://javarevisited.blogspot.in/2011/12/checked-vs-unchecked-exception-in-java.html
Munesh SharmaPosted Apr 15, 2014, 12:42 AM EDT
Exception is the deviation from the ordinary program flow or operations.
Checked Exception are those which are checked at compile time i.e. there is a way given to handle the exception .
Example - When you use file reader or buffered Reader , you use them in try and catch and exceptions that are checked are I/O exception , file not found etc. If you don't use try catch it gives error to use it.
Unchecked Exception re those which are not handled at compile time and they are thrown at run time.
Example - Null pointer Exception , ArrayIndexOutOfBound Exception etc.
Akash MalikPosted Apr 12, 2014, 9:59 PM EDT



