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
is there a separate stack for each thread in java? : Java thread
How to implement an arraylist in java?
What are java threads?
What are the disadvantages of using inner classes?
What is tochararray in java?
How do you remove duplicates from an array in java?
What is the difference between jvm and jre? What is an interface?
Which eclipse is best for java?
Explain the inheritance?
What is the purpose of static methods and static variables?
Why is java not 100% pure oops?
What is the function of compareto in java?
What is the final access modifier in java?
Does every java program need a main?
Highest level event class of the event-delegation model?