Why does this
int x = 2; for (int y =2; y>0;y--){ System.out.println(x + \" \"+ y + \" \"); x++; }
prints the s
The check is done before the increment argument is evaluated. The 'increment' operation is done at the end of the loop, even though it's declared at the beginning.