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 the purpose of introspection?
Explain the steps in details to load the server object dynamically?
What value does readline() return when it has reached the end of a file?
which book is better for jdbc ,servlets and jsp
What is RMI and what are the services in RMI?
What is the relationship between local interfaces and container-managed relationships?
Can constructors be synchronized in java?
Define aop(assepct oriented programing)?
To what value is a variable of the string type automatically initialized?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
How primary key is implemented in Oracle?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
What is the difference between the session.get() method and the session.load() method?
Can you give me a simple example of using the requiredif validator rule?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?