Arithmetic Operators

Symbols such as +, -, *, /, and % that perform calculations.

What is Arithmetic Operators in Java?

Arithmetic Operators — Symbols such as +, -, *, /, and % that perform calculations.

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

Level: Novice · More Java terms at this level

Updated

In other subjects