About Question enthuware.ocajp.i.v7.2.1099 :
Posted: Wed May 23, 2012 8:50 am
there is something wrong with html in this question:
Code: Select all
public class TestClass{
public static void main(String args[]){
int x = 0;
labelA: for (int i=10; i<0; i--){
int j = 0;
labelB:
while (j < 10){
if (j > i) break labelB;
if (i == j){
x++;
continue labelA;
}
j++;
}
x--;
}
System.out.println(x);
}
}