Two Laptop Bag
The moose likes Mock Exam Errata and the fly likes  differ between checked and unchecked? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark " differ between checked and unchecked?" Watch " differ between checked and unchecked?" New topic

differ between checked and unchecked?

junaid rehman

Joined: Jun 17, 2001
Posts: 16
pls tell me the differ between them
ankush mehta

Joined: Feb 08, 2001
Posts: 20
hi there!
an exception is known as a checked exception if it is checked at compile time.
otherwise, it is known as unchecked exception like ArrayIndexOutOfBoundsException
take care,
Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi Junaid,
For more information on checked vs unchecked exceptions see JLS §11.2 and the Sun tutorial Handling Errors with Exceptions
I'm going to move your post to Certification Study as it's not realted to Mock Exam errors.
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform

Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
I agree. Here's the link:
subject: differ between checked and unchecked?
It's not a secret anymore!