For the following code, the answer given is 121212
class JMM110 {
public static void main (
String[] args) {
int j = 0;
do for (int i = 0; i++ < 2
System.out.print(i);
while (j++ < 2);
}}
Can anybody pl explain?Thanks
[ May 22, 2004: Message edited by: Barry Gaunt ]