do while (i++ < 3) System.out.print(k++); //prints 012 while (j++ < 3); Outer while does loop 3 times, but i has already incremented and is greater than 3, so inner while condition is false and nothing is printed. I hope this helps.
Joined: Sep 18, 2003
Hey Cathy, thanks. I guess i've had too much for the day since i'm missing such simple questions