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 concurrent hashmap and its features?
What is the largest data type in java?
What is collection api?
Explain methods specific to list interface?
What is finalize() function in java?
What are the advantages of assembly language?
What is the USE of Null interfaces ??...if thers nothing inside these interfaces how are they used and WHy are they used ???? No 1 has given a proper description yet
What is a protected method?
I want to persist data of objects for later use. What’s the best approach to do so?
What are different types of control structures?
What is the difference between this() and super()?
What is the difference between method overriding and overloading?