Consider the following code fragment. Line numbers are at the left.
1 int a = 2;2 boolean b = false;3 boolean c;4 c = b && ++a == 2;5 b = a++ == 2;6 b = !b;7 System.out.println(a + " " + b + " " + c);
Trace the code using this trace setup:
line# | a | b | c | output |
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.