explain the classification of exception and hoew to handle
the exceptions
Answer Posted / bindhu
there are two types of exceptions in java
1> checked exceptions
checked exceptions are also known as compile time
exceptions as they are identified during compile time of
the program. It is also known as Normal Exception.
Example: FileNotFoundException,ClassNotFoundException, etc..
2> Unchecked exceptions
Unchecked Exceptions are also known as runtime exceptions
as they are identified during the runtime of the program.
Example: ArithmeticException etc..
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Why array is used in java?
What is the method overriding?
What is parsing a sentence?
Is void a wrapper class?
What purpose do the keywords final, finally, and finalize fulfill?
What is multiple inheritance? Is it supported by java?
What is an example of character?
What is java ceil?
What is java util?
What are the 5 types of research methods?
What is the final keyword in java?
What is class forname?
Explain thread life cycle in java?
What is the size of arraylist in java?
Java is Pass by Value or Pass by Reference?