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 object class is super class for every class in java?
What is final keyword?
What is use of super keyword in java?
Can Exception handling we can handle multiple catch blocks?
What are data types in oop?
What are the differences between abstract class and interface?
Explain the difference between hashmap and hashtable in java?
make a method which any number and any type of argument and print sum of that arguments.....
What is the driver class?
Explain about fail fast iterators in java?
Why map is used in java?
Write a program to show whether a graph is a tree or not using adjacency matrix.
What is nested interface?
Can you make a constructor final in Java?
What is a values collection view ?