Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
ADNAN KHAN
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic