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
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
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 are the classes in the java collection framework? : java collections
What is deque in the java collections framework? : java collections
What is the difference between comparable and comparator in java.util pkg?
What do you understand by synchronization? Why is it important?
What are the differences between the java collection and the java list? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
please mail me the interview question based on java/j2ee
How is hashset maintained in memory by java ?
What are the types of the main implementing classes in the map interfaces? : java collections
What are the types of interface used in the java collections? : java collections
What are the different types of ways where you can iterate over a list? : java collections
What are the interfaces in java collections? : java collections
What are the uses of the set interfaces in the java collections? : java collections