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

  • 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

External Source

Interview with Dave Musicant.