Debugging in Java

Get involved in a tea-table talk in this lesson.

We'll cover the following...

❗ Note: This section introduces an important software development phase. It’s not a part of the AP CS A exam but is useful to know. The purpose is only to familiarize the students with the process.

Tea-table talk

In computer programming, the process of finding and resolving an error or a bug is called debugging. A bug is just another word for defects or problems that prevent correct operation of the program. There are some common types of errors:

  • Syntax error
  • Runtime error
  • Logical error
svg viewer

Syntax errors arise due to syntax (grammatical) mistakes. For example, not ...