Introduction: Debugging Interlude—the Errors Programmers Make

Let's learn the prerequisites, learning objectives, and overview for this chapter.

We'll cover the following



After completing this debugging interlude, you should be able to

  • Describe and distinguish the two classifications of programming errors
  • Give examples of the errors that fall into these classifications
  • Correct syntax errors in the use of Java
  • Correct errors in the logic of a program


Mistakes. We hate to make them, but we all do. Any error that we make in a program is called a bug, and the process of finding these errors is called debugging. In these debugging interludes, we will talk about the common errors that occur in Java programs and try to give you the skills to deal with them.

Get hands-on with 1200+ tech skills courses.