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
what is the major difference between linkedlist and arraylist in java?
How do you break a loop?
Explain about version control?
Differences between external iteration and internal iteration?
How do you start a new line in java?
What are the principle concepts of oops?
Explain a situation where finally block will not be executed?
What are methods and how are they defined?
What is the use of predicate in java 8?
What is singleton class example?
How do you stop a thread in java?
What are the differences between abstract class and interface?
Which are the two subclasses under exception class?
Can private class be extended java?
In how many ways we can do exception handling in java?