The following code:
boolean continue = false;
Returns the following error:
error: not a statement boolean continue = false;
You can't use continue as a name of a variable. It's one of java reserved words.