; is empty statement.
// if (x>3) don’t do anything
if (x > 3) ;   // we don’t want this semicolon!
// always write "x is too big"
g.drawString("x is too big", 50, 50);