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

Use tupperware containers and act out being the computer to teach students how in CS variables and statements like x=x+1 are different than variables and equations in math by creating a meaningful visualization.
Misconception: Students incorrectly assume that Java’s substring method is destructive and wrongly anticipate the original string will change.
Avoid formal definitions of topics at first in intro courses; these can be intimidating for students, as they can look like “hard math.”

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

Privacy Policy