• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

differ between checked and unchecked?

 
junaid rehman
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pls tell me the differ between them
 
ankush mehta
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
ankush
 
Jane Griscti
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic