adspace


what is difference between checked exception & unchecked
exception in java?

Answer Posted / vikneswarank

Java runtime exception handler
can not catch all type of exceptions. As such we need
to explicitly deal with them to prevent abrupt program
termination.Some of the examples for this could be
ArrayIndexOutOfBounds, ArithmeticExceptions etc. The
key factor to remember is that checked exceptions are
the ones where we need to use the try and catch blocks
to get the exception problem solved. The same is not
mandatory for the unchecked exceptions and are caught
well and good by the Java run time Exception Handler

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category