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 different types of collections views being provided by the map interface? : java collections
What are the queues in the java collection framework? : java collections
What are the different types of classes implemented in the set interfaces? : java collections
What are the differences between the java collection and the java list? : java collections
What is the use of hashcode in java ?
What is the use of the list interface in the java collection? : java collections
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What are the different types of features of the java collections framework? : java collections
What are the different types of ways where you can iterate over a list? : java collections
What are maps interfaces in the java collections? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
What is the enumerator of the java collection framework? : java collections
What do you understand by synchronization? Why is it important?
Which interface does java.util.hashtable implement?
What is the difference between comparable and comparator in java.util pkg?