Use continue to skip invalid or unwanted values during processing. Need only even numbers? Use if (i % 2 != 0) continue; to skip all odd values. Continue moves to the update part in for loops, or straight to the condition check in while loops.
The rest of the loop body is skipped for that iteration. Continue is less common than break but useful for filtering. It avoids deep nesting when you want to exclude certain cases from your processing logic.