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

Teach simple Java with graphics first using the Draw/Roll Die activity, having students call objects and methods before defining their own, for an engaging way to reinforce material.
Have students implement a web-based driving game in JavaScript to pick up classmates, who appear as 2D avatars, within Google Earth and drop them off at their homes to show students that arrays and objects are applicable to real-world problems.
Have students write methods that perform tasks of a standard music player in Java to give them practice manipulating data structures in a familiar context.

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

Privacy Policy