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
Is the session factory thread safe?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
For which statements does it make sense to use a label?
What is a policy?
How can I scroll through list of pages like the search results in google?
How is a java object message delivered to a non-java client?
Why are my checkboxes not being set from on to off?
What are the difference between RMI and CORBA?
How substring() method of string class create memory leaks?
Name the class that is used to bind the server object with RMI Registry?
How are commas used in the intialization and iteration parts of a for statement?
What are JTA/JTS and how they used by client?
What is difference between object state and behavior?
Difference between swing and awt?
What is aop(assepct oriented programing)?