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 use of State Factories?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
which book is better for jdbc ,servlets and jsp
Difference between loadclass and class.forname?
difference between ejb,struts,hibernate,spring and jsp
What is Stream Tokenizer?
What are the different class loaders used by jvm?
What is a modular application?
What are externizable interface?
How are the elements of a cardlayout organized?
What value does readline() return when it has reached the end of a file?
Can I use multiple html form elements with the same name?
How to pass parameters in RMI?
Explain phantom read?
How substring() method of string class create memory leaks?