Answer Posted / 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 |
Post New Answer View All Answers
What is the platform?
What is the finalize method do?
What is remote method invocation (rmi)?
What is the default execution method in java?
When does an object becomes eligible for garbage collection in java?
What is the purpose of java?
Explain about collection interface in java?
What occurs when an object is constructed?
What are the advantages and disadvantages of reference counting in garbage collection?
What is a null check?
Who found java?
How to make a class or a bean serializable?
Explain about serializable interface in java?
What is difference between protected and private?
How do I stop concurrentmodificationexception?