File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes EXCEPTION;;;;;;;;;;; Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "EXCEPTION;;;;;;;;;;;" Watch "EXCEPTION;;;;;;;;;;;" New topic



Joined: Feb 26, 2001
Posts: 6
I am reading exceptions in java and I have a little problem about checked and unchecked exceptions. I cant understand the difference. So if anyone help me and explian these two with example.
thanks .
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
Checked exceptions are checked by the compiler at compile time (example: IOException). Unchecked exceptions show up at runtime (example: ArithmeticException).

[This message has been edited by Marilyn deQueiroz (edited May 06, 2001).]

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: EXCEPTION;;;;;;;;;;;
It's not a secret anymore!