CONTENTS | PREV | NEXT Java Code Conventions


5.6 while Statements

A while statement should have the following form:

while (condition) {
statements;
}
An empty while statement should have the following form:

while (condition);


CONTENTS | PREV | NEXT
Copyright © 1997 Sun Microsystems, Inc. All Rights Reserved.