More Compile-Time Errors

In this lesson, we will continue looking at common syntax errors in Java and what causes them.

Missing parenthesis

Suppose we accidentally omit the closing parenthesis from a println statement. For example, consider the program below. Notice the result of its compilation after you click the RUN button.

Get hands-on with 1400+ tech skills courses.