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 difference between array and arraylist? what is the difference between arraylist and linkedlist?
Does anyone still use java?
what is web.xml?and its use?
What is the argument type of main() method?
Is a method a procedure?
What is string builder in java?
where u use Abstraction and Interface in real time
public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } }
How do I get the | symbol on my keyboard?
What is enhanced loop in java?
WHAT IS THE MEANING OF ALL TYPE OF BUZZWORDS?
Can we use String with switch case?