Java Programming/Keywords/while
is a Java keyword.
It starts a looping block.
The general syntax of a , using Extended Backus-Naur Form, is
while-looping-statement ::=condition-clause single-statement | block-statement condition-clause ::=(Boolean Expression)single-statement ::= Statement block-statement ::={Statement [ Statements ]}
For example:
while ( i < maxLoopIter )
{
System.out.println("Iter=" +i++);
}
|
See also: