for Loop (Java)

A for loop repeats a block of code a set number of times. It has three parts in its header.