Why does this
int x = 2; for (int y =2; y>0;y--){ System.out.println(x + \" \"+ y + \" \"); x++; }
prints the s
Try this example:
int i = 6; System.out.println(i++); System.out.println(i); i = 10; System.out.println(++i); System.out.println(i);
You should be able to work out what it does from this.