Answer Posted / ranganathkini
There are three main types of Exceptions:
1. Checked execptions: which have to be handled by the code.
These represent avoidable exceptional conditions which can
be handled and recovered from.
2. Runtime Exceptions: which need not be handled by the
code. These represent unexpected exceptional conditions
which can be handled but not necessarily recover from.
3. Errors: which need not be handled by the code. These
represent severe unexpected exceptional conditions which
shud not be attempted to handle.
| Is This Answer Correct ? | 79 Yes | 22 No |
Post New Answer View All Answers
What is the purpose of a transient variable?
How big is a 32 bit integer?
What is null object in java?
Can we start a thread twice in java?
What is multithreading in java?
What is a nested list?
Difference between throw and throws?
What is e in java?
What is polymorphism and what are the types of it?
What are encapsulation, inheritance and polymorphism?
Is java written in c?
Explain with example the concept of constant variable in java.
What is singleton pattern?
What is the difference between arraylist and hashset in java?
What are advantages and disadvantages of OOPs?