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 |
Explain the difference between jdk, jre, and jvm?
enlist some features of jdk.
What exactly is methodology?
What is Transient and volatile
What is native code?
What is the differences between heap and stack memory in java? Explain
What does I ++ mean?
What is the difference between hashmap and hashtable? What is an interface?
What is protected in java?
What are assertions in java?
How many characters is 16 bytes?
What are the four pillars of java?