Site Search:

Flash card list 1 -- card 13

Prev   Next

What is the output of the following code?
  4   int i = 1;
  5   i = i++;
  6   System.out.print(i);

1, (i++ assign the original value to i.)