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
Why is actionform a base class rather than an interface?
What is the diffrence between a local-tx-datasource and a xa-datasource?
How to implement RMI in Java?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
What is the argument type of a programs main() method?
What is the difference between ear, jar and war file?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
What are the oops concept?
What are the types of scaling?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is the RMI and Socket?
Can you give me a simple example of using the requiredif validator rule?
Why a component architecture for the java platform?
What is clustering? What are the different algorithms used for clustering?
What is a sessionfactory? Is it a thread-safe object?