explain the classification of exception and hoew to handle
the exceptions
Answers were Sorted based on User's Feedback
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 |
Answer / ravikiran
Checked and unchecked exceptions
We can handle the exception by make use of
try/catch/finally (or) by using throws clause
| Is This Answer Correct ? | 4 Yes | 3 No |
How do singleton patterns work?
What are jee technologies?
Which graphs are functions?
How to perform bubble sort in java?
java can provide security ,how can provide?
8 Answers Aspire, BNP Paribas, Genpact, IBM,
whether java is fully object oriented language or partially object oriented language
Is a class an object?
What Is Composition?
explain the clone method and clonable interface
What is r * in math?
Implement a stack with push (), pop() and min() in O(1) time.
What is finally and finalize in java?