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 types of java collections? : java collections
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
what is mean by hasing and maping in java platform and advantage?
What are the queues in the java collection framework? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
can u draw class/object diagram for ATM
What are the different types of collections views being provided by the map interface? : java collections
What are the main classes of the list interfaces? : java collections
What are the different types of features of the java collections framework? : java collections
What are the types of interface used in the java collections? : java collections
How do I find jre path in windows?
What is iterator in the java collections framework? : java collections
What are the types of the main implementing classes in the map interfaces? : java collections
What do you understand by synchronization? Why is it important?
What is the Spring2.5 MVC Navigation flow?