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 initialize variables?
What is immutable state?
How do you initialize an arraylist in java?
Will the jvm load the package twice at runtime?
Explain the difference between serializable and externalizable in java?
Why does java have two ways to create child threads? Which way is better?
Define an abstract class with reference to java.
How do you clear a list in java?
What causes memory leak in java?
Can we write multiple catch blocks under single try block?
What is meant by vector class, dictionary class, hash table class, and property class?
How can you read content from file in java?
What is the purpose of the finalize() method?
What is the default value of byte datatype in java?
In Java list the methods that can be overridden?