The ; character ends a statement. Make sure the ; are at the end of the statement.

Use the javac compiler's -Xlint option to get some good warning/error messages....