# continue

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/subjects/java/apprentice)

Updated: September 27, 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)

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