Decision making, Branching and Looping
for, while, and do-while statements
The ability to "loop" by executing one or more statements repetitively is an important part of programming. |
Loops reduce the number of statements a programmer must code and result in a smaller, more memory efficient program. |
In Java, looping is performed using the for, while, and do-while statements. |