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 meant by vector class, dictionary class, hash table class, and property class?
Why is it called boolean?
Why lambda expression is used in java?
What is the latest version of java?
How we create object in copy constructor?
Can we have any code between try and finally blocks?
What is factor r?
What is indexof?
What is the use of parseint in java?
What will be the default values of all the elements of an array defined as an instance variable?
Can we overload the main() method?
Why java doesn’t support multiple inheritances?
Is list thread safe in java?
What is data structure in java?
What is the difference between sop and work instruction?