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 |
How do you square a number?
Are maps ordered java?
How java is similar to c?
Which arithmetic operations can result in the throwing of an arithmeticexception?
What is the use of StringTokenizer class?
What is arrays aslist in java?
Can bool be null?
Wha is the output from system.out.println(“hello”+null); ?
What a static class can contains?
Which class is the immediate superclass of the Container class?
How do you start a new line in java?
Do I need java on my computer?