Control Structure

Control structures in Java fall into two categories: selection and repetition. We will be focusing on repetition control structures only.

The repetition control structure in Java come in two flavors: those that check the condition before executing the body of the repetition and those check the condition after executing the body of the repetition. Repetition structures, or loops, generally come in two forms. The two loops are

Control statement can also be nested within another, known as nested repetition.

Fook Yuen Sin - Team 1