Assignment

Storing a value in a variable with the = operator.

What is Assignment in Java?

Assignment — Storing a value in a variable with the = operator.

class Game {
    void updateScore() {
        int score = 10;
        score = score + 5;
    }
}

Level: Novice · More Java terms at this level

Updated

In other subjects