Answer Posted / asit nautiyal
An exception is any error condition or unexpected behavior
encountered by an executing progarm othre than logic or
syntex errors.
The error conditions might include conditios such as
division by zero, access to an array to an array outside of
its bounds,etc.
To handle exception we use three statements :
1. try 2. catch 3.finally
| Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
How do you take thread dump in java?
Discuss different types of errors that generally occur while programming.
How can you read content from file in java?
What about features of local inner class?
What is multithreading and its advantages?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
How to implement an arraylist in java?
What is the lifetime and scope of a variable?
What do you understand by a Static Variable?
What are the common uses of "this" keyword in java ?
why an outer class cannot be declared as private?
Tell me about your ability to work under pressure
what is session in java?
What is java Applet?
What is boolean keyword in java?