3. Looping (Iterative) Structures

3.1. Enhanced for Loop (for-each)

Iterates over arrays or collections (e.g., ArrayList).

Syntax:

for (Type variable : collection) {

    // Code

}