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 is the Spring2.5 MVC Navigation flow?
What are the considerations to be made in case of loops in java ?
What are the different types of collections views being provided by the map interface? : java collections
What are the uses of the set interfaces in the java collections? : java collections
Which sorting algorithm is used by collections.sort() in java ?
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
What are the different types of ways where you can iterate over a list? : java collections
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
What is the use of hashcode in java ?
can u draw class/object diagram for ATM
please mail me the interview question based on java/j2ee
What is the enumerator of the java collection framework? : java collections
What is deque in the java collections framework? : java collections
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?