Errors
In Java , white space (spaces, new lines, and tabs) are ignored. Most of the time, anyplace that a space is allowed, you can use other white space.
In the illustration below there is no semicolon at the end of the System.out.println statement.
Notice the red squiggle after the closing ), indicating it is an error. When you see the red squiggle look at the line to see if you can find the error. If not, click the Problems tab for more information.