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
What are the uses of the set interfaces in the java collections? : java collections
What do you understand by synchronization? Why is it important?
What is the use of the list interface in the java collection? : java collections
Which interface does java.util.hashtable implement?
What are the different types of classes implemented in the set interfaces? : java collections
What is iterator in the java collections framework? : java collections
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
What are maps interfaces in the java collections? : java collections
What are the types of the main implementing classes in the map interfaces? : java collections
What is an algorithm in java collection framework? : java collections
can u draw class/object diagram for ATM
Should we create system software ( e.g operating system ) in java ?
what is mean by hasing and maping in java platform and advantage?
How is hashset maintained in memory by java ?
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS