class BlankIt{
public static void main(String[] args) {
int i = 10, j = 20;
while(i++ < --j){
System.out.println("\n " + i + " " + j);
}
System.out.println("\n " + i + " " + j);
}
}
The preceding output is 16 14
. Why is that happening?? The loop stops when the condition reaches 15 < 15
. Please help me out!!