Skip to content

Chapter 10: Statements

10.1 Variable declaration statement

10.2 Assignment statements

10.3 Assertion

10.4 Program Control Flow

10.5 Statement Blocks

10.6 Branching Statements

Unconditional Branching Statements

10.7 Return statement

Conditional Branching Statements

10.8 Iteration Statements

The while loop

The do...while loop

The for loop

The foreach loop

10.9 The continue and break statements

10.10 Throw statement

10.11 try/catch