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 are local interfaces? Describe.
What is ripple effect?
what is meant by JRMP?
How would you detect a keypress in a jcombobox?
what are the activation groupworks?
What is bean? Where can it be used?
Why a component architecture for the java platform?
What must a class do to implement an interface?
Why does the option tag render selected=selected instead of just selected?
Why use a datasource when you can directly specify a connection details?
What is local interface. How values will be passed?
What value does readline() return when it has reached the end of a file?
What is threadfactory?
Why do I get a duplicate name error when loading a jar file?
What are transaction attributes?