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 |
When will we use them?
What do you mean by an interface in java?
What is java reflection?
Name the method that used to clear the buffer ?
Explain about Superclass and Subclass?
How hashset works internally in java?
What is threaded programming and when is it used? : Java thread
What are examples of modifiers?
What are the main differences between the java platform and other platforms?
What does java final mean?
Explain the difference between string, stringbuffer and stringbuilder in java?
what are the different access specifiers that can be used by interfaces and abstract classes? can anyone give me detailed description on this
11 Answers IBM, L&T,