This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "EXCEPTION;;;;;;;;;;;" Watch "EXCEPTION;;;;;;;;;;;" New topic
Author

EXCEPTION;;;;;;;;;;;

ADNAN KHAN
Greenhorn

Joined: Feb 26, 2001
Posts: 6
Assalam-o-Alakum;
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 .
mohd_adnan2000@hotmail.com
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
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).]


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
Consider Paul's rocket mass heater.
 
subject: EXCEPTION;;;;;;;;;;;
 
Similar Threads
writing from a jar
Study kit example doubt
RecordNotFoundException and DuplicateKeyException
JVM Thrown Exceptions/Programmatically thrown exceptions
Constructors:True or false