An if
else
statement may include an empty statementone that
consists of a semicolon onlyin the if-true position. Thus, the
following tests are equivalent:
if (length < 60) System.out.println("It is short!"); if (length >= 60) ; else System.out.println("It is short!");