When does Exception occurs?

Answers were Sorted based on User's Feedback



When does Exception occurs?..

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

When does Exception occurs?..

Answer / ravikiran

at runtime when any uneven situation occurs

Is This Answer Correct ?    0 Yes 0 No

When does Exception occurs?..

Answer / vikneswarank

any upnormal condication occur in try block .

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is the purpose of using rmisecuritymanager in rmi?

0 Answers  


What is the difference between set and list?

5 Answers  


What is jit compiler ?

0 Answers  


Does string is thread-safe in java?

0 Answers  


What is a map? What are the implementations of map?

0 Answers  






What is space character in java?

0 Answers  


Can we start a thread twice in java?

0 Answers  


Are arrays passed by reference in java?

0 Answers  


Can a double value be cast to a byte?

3 Answers  


How do you sort data in java?

0 Answers  


What are the main differences between notify and notifyAll in Java?

0 Answers  


What is get () in java?

0 Answers  


Categories