Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Misconception: Students have trouble understanding the difference between checked and unchecked exceptions in Java.

Share Misconception: Students have trouble understanding the difference between checked and unchecked exceptions in Java. with FacebookShare Misconception: Students have trouble understanding the difference between checked and unchecked exceptions in Java. with Twitter
  • A checked exception is due to a bug outside the program’s control, for example a File Not Found Exception or an IO Exception.
  • An unchecked exception is due to a bug in the program, for example a Null Pointer Exception or Array Index Out Of Bound.

More about this tip

Tags

  • Java
  • Programming Concepts
External Source

Interview with Dave Musicant.

Other Tips By
Other Tips By Dave Musicant

Similar tips

Relate how cool it would be to have the entire dictionary for another language put into your head to importing libraries in Java to help students make sense of this abstract concept.
Compare AND/OR gates to series and parallel circuits, respectively, to connect electrical engineering and computer programming.
Emphasize the importance of developing a consistent naming schema, especially for booleans, as a part of good style.
  • CSTT Facebook
  • CSTT Twitter

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Footer Icons by Mohammed Alyousfi. Powered by Drupal.

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College