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 concurrent hashmap and its features?

0 Answers  


What is the largest data type in java?

0 Answers  


What is collection api?

0 Answers  


Explain methods specific to list interface?

0 Answers  


What is finalize() function in java?

0 Answers  






What are the advantages of assembly language?

0 Answers  


What is the USE of Null interfaces ??...if thers nothing inside these interfaces how are they used and WHy are they used ???? No 1 has given a proper description yet

1 Answers  


What is a protected method?

0 Answers  


I want to persist data of objects for later use. What’s the best approach to do so?

0 Answers  


What are different types of control structures?

0 Answers  


What is the difference between this() and super()?

15 Answers   TCS,


What is the difference between method overriding and overloading?

0 Answers  


Categories