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 a static method in java?
What are some characteristics of interference class?
Is char a method in java?
Can we use string in the switch case?
What does microservices mean?
What is a container in a gui?
What are class members by default?
Can you create an object of an abstract class?
Which one of the following suits the description of a string better: derived or primitive?
Can memory leak in java?
Difference between ‘>>’ and ‘>>>’ operators in java?
What environment variables do I need to set on my machine in order to be able to run java programs?
What is the use of pattern in java?
What is the difference between Java1.4 and Java1.5
Should database connections be singleton?