what is the difference between checked and unchecked
Exceptions?

Answer Posted / santosh mundhe

Unchecked Exception(Runtime Exception):
there is no need to declare runtime exceptions, in simple
words we can say that at run time JVM will handle the
exception.

Checked Exception(Compiletime Exception):
at compile time JVM will check for exception for that it's
compulsory to handle the exception.Checked exceptions force
you to catch the exception and to do something about it.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.

1929


can u draw class/object diagram for ATM

5657


What is an algorithm in java collection framework? : java collections

678


What is the use of hashcode in java ?

670


What is the enumerator of the java collection framework? : java collections

661






What are the types of interface used in the java collections? : java collections

669


Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword

1695


what is mean by hasing and maping in java platform and advantage?

1941


my interviewer asked me what technical specification you used how to answer that question

2026


Which interface does java.util.hashtable implement?

802


What are the different types of collections views being provided by the map interface? : java collections

689


What are the differences between the java collection and the java list? : java collections

699


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

1655


What is deque in the java collections framework? : java collections

614


What are the interfaces in java collections? : java collections

712