When does Exception occurs?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vikneswarank
any upnormal condication occur in try block .
| Is This Answer Correct ? | 0 Yes | 0 No |
What is string variable?
What does sprintf mean?
Difference between Preemptive scheduling vs. Time slicing?
What is an abstract method in java programming?
Have you used any version control ? if so explain about it?
What is java and why do we need it? Explain
How to handle a web browser resize operation?
what is main purpose of interface?
2 Answers Accenture, HCL, NIIT,
Is intellij better than eclipse?
What is OOP Language?
What technique can be employed to compare two strings?
Can a final variable be null?