What is the difference between caught exception and uncaught exception?

Showing Answers 1 - 7 of 7 Answers

Caught exceptions are called checked exceptions. Checked exception occur?at compile time.Uncaught exceptions are called unchecked exceptions. Unchecked exceptions occur at runtime. Checked exceptions must be either declare or catch the exception. Unchecked exceptions does not need to? declare or catch the exception.

sampra

  • Feb 23rd, 2008
 

  • compile time exception is called caught exception and run time exception is called uncaught exception

  Was this answer useful?  Yes

caught exception: 

              That mean when u declare the particular type of exception(checked and unchecked exception) u will get caught exception.

uncaught exception:

             That mean when u wont diclare the particulare type of exception(like class not found exception(checked exc), arithamatic exception(un checked exc)) that time u will get some uncaught exception 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions