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
Explain the use of volatile field modifier?
What is a singleton puppy?
How does compareto work in java?
How can you make a class serializable in java?
What is use of valueof () in java?
What is volatile keyword in java
What is the ==?
extending thread class or implementing runnable interface. Which is better? : Java thread
What are basic keywords?
What is return used for in java?
What is autoboxing and unboxing?
What are byte codes?
What is the formula to calculate percentage?
What is the difference between a factory and abstract factory pattern?
How do you sort in descending order in java using collections sort?