Java   View all facts   Glossary   Help
syntactic unit > statement > control flow statement > continue statement > unlabelled continue statement
Next continue statementlabelled continue statement    Upcontinue statement

unlabelled continue statement
subjectfact 
unlabelled continue statementhas example
int count = 0;
int count2 = 0;
while (count++ <= array1.length) {
if (array1[count] == 1)
continue;
array2[count2++] = (float)array1[count];
}
added by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:11.0
is a subtopic of Loops and Decision Making2001-10-19 11:38:11.0
is a kind of continue statementadded by: JK, source: Sun Java Tutorial, 2001-10-19 11:38:12.0
restarts the loop it is enclosed inadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:38:12.0
continue statementcauses execution to switch immediately to the next iteration of a loop2001-10-19 11:36:33.0
has purpose used within loops to jump to another statement2001-10-19 11:36:33.0
see also continue2001-10-19 11:36:33.0
statementis terminated by a semicolon    2001-10-19 11:37:57.0
should be not more than one line long if possible2001-10-19 11:37:57.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0