Answer Posted / m.k.sreenivas
Checked exceptions:
A checked exception is some subclass of Exception (or
Exception itself), excluding class RuntimeException and its
subclasses. Each method must either handle all checked
exceptions by supplying a catch clause or list each
unhandled checked exception as a thrown exception.
Unchecked exceptions:
All Exceptions that extend the RuntimeException class are
unchecked exceptions. Class Error and its subclasses also
are unchecked.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the method in java?
What is hotjava?
what is collatration?
What are sets in java?
What is the advantage of functional interface in java 8?
Is there any sort function in java?
How thread scheduler schedule the task?
Why do we create public static method in java?
Can we override private constructor in java?
Give me some null interfaces in java?
How to check if a list is sorted in java?
What is meant by memory leak?
What is default switch case? Give example.
What is the main method java?
Can a set contain duplicates?