CJCoding With Joseph
← Back to Question List
Java Code Walkthrough #48

Compound Assignment Order

easyOperators

📄 Code

Read carefully — what does this print?
1public class Main {
2 public static void main(String[] args) {
3 int x = 10;
4 x -= 3;
5 x *= 2;
6 System.out.println(x);
7 }
8}

🎯 Your Answer