1sout(X++ * ++X * X++)
2
31) first postfix operator: X++
4 1.a) X++ "replaced" by 10
5 1.b) X incremented by one: 10+1=11
6 At this step it should look like: System.out.println(10 * ++X * X++), X = 11;
7
82) second POSTfix operator: X++
9 2.a) X++ "replaced" by 11
10 2.b) X incremented by one: 11+1=12
11 At this step it should look like: System.out.println(10 * ++X * 11), X = 12;
12
133) prefix operator: ++X
14 3.a) X incremented by one: 12+1=13
15 3.b) ++X "replaced" by 13
16 At this step it should look like: System.out.println(10 * 13 * 11), X = 13;
17
184) evaluating 10*13 = 130, 130*11 = 1430.
19