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
What is the difference between long.class and long.type?
What is Remote Server?
Explain how will the struts know which action class to call when you submit a form?
How to pass parameters in RMI?
What if the static modifier is removed from the signature of the main method?
what is an isolation level?
What is RMI and what are the services in RMI?
What is a policy?
how to use debug in my elipse to solve problems that exist in my project
Do I need to import javlang package any time? Why ?
What is meant by method chaining?
Describe activation process?
Why do threads block on i/o?
the same information whether it will connect to the database or it will be used previous information?
What is prototype?