what is the difference between checked and unchecked
Exceptions?

Answer Posted / surya bondada

The exception which are checked by the complier are called
as checked exception.
The exception which are not checked by the complier are
called as unchecked exceptions.

Example for Checked Exceptions are:Exception,intrupted
Exception,serveltException,Io Exception and all child
classes are the examples for checked Exceptions.

Example for Uncheked Exceptions are:Runtime Exception it is
child of Exception,and child classes of Runtime Exceptions
like ArrayIndexOutofOrder,illegalmonitersafe
exception,illegal argement exception,Arthimatic
exception,and class cast exception,And All Error and child
classes are example for unchecked .

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of the set interfaces in the java collections? : java collections

745


What do you understand by synchronization? Why is it important?

783


What is the use of the list interface in the java collection? : java collections

784


Which interface does java.util.hashtable implement?

907


What are the different types of classes implemented in the set interfaces? : java collections

823


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

734


Which java collection class can be used to maintain the entries in the order in which they were last accessed?

763


What are maps interfaces in the java collections? : java collections

769


What are the types of the main implementing classes in the map interfaces? : java collections

834


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

794


can u draw class/object diagram for ATM

5758


Should we create system software ( e.g operating system ) in java ?

781


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

2082


How is hashset maintained in memory by java ?

829


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

1750