Specifications

Sun Services
Java™ Programming Language
Module 4, slide 31 of 31
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Using continue Statements with Labels
1 test:
2 do {
3
statement1
;
4 do {
5
statement2
;
6 if (
condition
) {
7 continue test;
8}
9
statement3
;
10 } while (
test_expr
);
11
statement4
;
12 } while (
test_expr
);