All Subjects
Light
AP Computer Science A
The loop body refers to the block of code that gets executed repeatedly in a loop. It contains the instructions that are repeated until the loop condition becomes false.
The loop condition determines whether the loop should continue executing or stop. It is evaluated before each iteration of the loop.
An iteration refers to each repetition of the loop body in a loop.
An infinite loop occurs when the loop condition always remains true, causing the loop body to repeat indefinitely.