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 complexity and its types?
if i have one string class then how can you achive this class functionality of this class?
What is the purpose of declaring a variable as final?
What is nested loop? What is dangling else condition in it?
Write a program to solve producer consumer problem in java?
What are the java ide's? Explain
Differentiate between stringbuffer and string?
What is connection class in java?
Difference between object instantiation and construction ?
How do you identify if jvm is 32-bit or 64-bit from java program?
What is the difference between && and & in java?
Hi am an mca graduate . i have done bsc maths in my degree . every company asks me why you make shift from maths group to computere field . What i need to answer?