Answer Posted / shakir khan
Exception is a condition that occur because of bad input
etc.
For example
FileNotFoundException will takesplace if the specified file
does not exist.
NullPointerException will be thrown if you try using a null
reference.
In most of the cases it is possible to recover from an
exception.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is difference between add() and addelement() in vector?
Why does java have different data types for integers and floating-point values?
What do you mean by an object in java?
Explain the differences between abstraction and encapsulation?
Can we serialize arraylist in java?
How do you sort in java?
What is a functional interface?
Explain different states of a thread in java?
What is main method?
Are variables stored in ram?
What is jpa specification?
Where is singleton pattern used?
What is variable and example?
What is the gregoriancalendar class in java programming?
Why is it important to initialize a variable?