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 are the different types of constructor?
How many types of java are there?
What is command line argument
What is the purpose of a default constructor?
How is a structure different from array ?
What is the difference between method and means?
What is keyword in oop?
Difference between vector and arraylist.
Can you call a method on a null object?
What are the 6 boolean operators?
How do you declare an array in java?
what do you mean by java annotations?
What is a literal coding?
When should a function throw an exception?
Is java pass by value or pass by reference?