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


Please Help Members By Posting Answers For Below Questions

How can I scroll through list of pages like the search results in google?

573


Name three subclasses of the component class?

620


Explain RMI Architecture?

612


Explain phantom read?

1741


What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

589






Difference between loadclass and class.forname?

602


Why won’t the jvm terminate when I close all the application windows?

756


Difference between hashmap and hashtable?

610


Explain what is synchronization?

578


Define aop(assepct oriented programing)?

644


what is the use of State Factories?

1912


how i secure my site with the https protocol.what are the steps?

1740


Brief description about local interfaces?

630


What do you know about seam?

602


what is a portable component?

1470