The while and do-while Statements (The Java™ Tutorials > Learning the Java Language > Language Basic
This beginner Java tutorial describes fundamentals of programming in the Java programming language ... The while statement evaluates expression, which must return a boolean value. If the expression evaluates to true, the while statement executes the state...