Download Z Microsystems SL Specifications

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