Java Loops

Whenever you need to execute a block of code multiple times, a loop will often come in handy. In general, a loop looks something like this:

Loop Schematic Diagram