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

Difference between comparator and comparable in java?

0 Answers  


what is net based application and its types

1 Answers  


What does serializing data mean?

0 Answers  


Is java platform independent?

0 Answers  


What is a percentage sign called?

0 Answers  






What is the main functionality of Prepared Statement?

4 Answers  


How to compare two strings in java program?

0 Answers  


What is the difference between preemptive scheduling and time slicing in java programming?

0 Answers  


why using interface interface ?

0 Answers  


What is the use of static keyword in "public static void main()"

10 Answers   College School Exams Tests, Infosys, Six Dee Telecom,


What is the Vector class?

3 Answers  


Can we override data members in java?

0 Answers  


Categories