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
Why are functions called methods in java?
Explain the difference between serializable and externalizable in java?
Is java written in c?
How do you get the length of a string in java?
How do you create a first line indent?
write a program that list all permutations of ABCDEF in which A appears before B?
Is java jre still free?
What is a stack class in java ?
What is java objectoutputstream?
Why is whitespace important?
How to provide security in java
Can we catch more than one exception in a single catch block?
Can we execute java program without main method?
Give the difference between the println method and sqrt method?
When should I use a singleton?