# continue

say it: **“kun-TIN-yoo”** **/kənˈtɪnjuː/**

A statement that skips the rest of the current loop repetition.

## What does **continue** do in Java?

**continue** — A statement that skips the rest of the current loop repetition.

```java
class NumberFinder {
    int firstOddNumber(int[] numbers) {
        for (int number : numbers) {
            if (number % 2 == 0) {
                continue;
            }

            return number;
        }

        return -1;
    }
}
```

Level: Apprentice · [More Java terms at this level](https://www.ask-codey.com/glossary?category=java&level=2)

Updated: November 17, 2026

## In other subjects

- [continue in C#](https://www.ask-codey.com/glossary/continue-c-sharp)
- [continue in JavaScript](https://www.ask-codey.com/glossary/continue-javascript)
- [continue in PowerShell](https://www.ask-codey.com/glossary/continue-powershell)
- [continue in Python](https://www.ask-codey.com/glossary/continue)
- [continue in Unix](https://www.ask-codey.com/glossary/continue-unix)

Source: https://www.ask-codey.com/glossary/continue-java
