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










