Changing values
Watch it run · 1 of 3
Add, add, add
1public class Main {2 public static void main(String[] args) {3 int score = 10;4 score = score + 5;5 score += 5;6 score++;7 score--;8 System.out.println(score);9 }10}
Memory
int score
10
Output
(nothing yet)line 3Start at 10.
step 1 of 6