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
Should we create system software ( e.g operating system ) in java ?
What is the Spring2.5 MVC Navigation flow?
please mail me the interview question based on java/j2ee
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
Which sorting algorithm is used by collections.sort() in java ?
What is the use of the list interface in the java collection? : java collections
What is the difference between comparable and comparator in java.util pkg?
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
Which interface does java.util.hashtable implement?
What are the queues in the java collection framework? : java collections
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
can u draw class/object diagram for ATM
What are the classes in the java collection framework? : java collections
What is iterator in the java collections framework? : java collections