Executing a while loop is the same as executing its body a fixed number of times.
The most difficult part of solving a problem by computer is developing a correct algorithm. The process of producing a correct Java program is then normally straightforward.
The while statement executes its body at least once.
You can write any program using sequence, selection and repetition.
Dry running is a useful technique for understanding/ debugging programs containing loops.
The while statement is the only loop we need.
A while loop body is always executed before the while loop test is done.
The while loop test has the same type as the if-else statement test.
The while loop is introduced by the reserved word WHILE.
Sentinel loop control is appropriate where it is known in advance how many times the loop should iterate.