What will the following program segments display?
a) x = 2;
y = x++;
System.out.println(y);
b) x = 2;
System.out.println(x++);
c) x = 2;
System.out.println(--x);
d) x = 8;
y = x--;
System.out.println(y);
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.