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 advantage of OOP in java?
What is a buffer in java?
Is arraylist ordered in java?
How java uses the string and stringbuffer classes?
What is an object in java and how is it created?
What is the difference between method overriding and overloading?
How do you convert int to char in java?
What are the parts of methodology?
What is this () in java?
What is gc()?
What are heterogeneous objects?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
What is the escape character in java?
What is the final keyword?