# Increment Operator

*noun*

say it: **“IN-kruh-ment OP-uh-ray-ter”** **/ˈɪŋkrəmənt ˈɑpəreɪtər/**

The ++ operator, which adds one to a number variable in a single short step.

## What does **Increment Operator** do in Java?

**Increment Operator** — The ++ operator, which adds one to a numeric variable.

```java
class Bakery {
    void divideCookies() {
        int cookies = 10;
        cookies++;
        int cookiesPerGuest = cookies / 2;
    }
}
```

## In a sentence

- “Every time someone clicked like, the **increment operator** turned likes++ into one more like.”

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

Updated: October 26, 2026

## In other subjects

- [Increment Operator in C#](https://www.ask-codey.com/glossary/increment-operator-c-sharp)
- [Increment Operator in JavaScript](https://www.ask-codey.com/glossary/increment-operator-javascript)

Source: https://www.ask-codey.com/glossary/increment-operator
