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 the purpose of using rmisecuritymanager in rmi?
What is the difference between set and list?
What is jit compiler ?
Does string is thread-safe in java?
What is a map? What are the implementations of map?
What is space character in java?
Can we start a thread twice in java?
Are arrays passed by reference in java?
Can a double value be cast to a byte?
How do you sort data in java?
What are the main differences between notify and notifyAll in Java?
What is get () in java?