class JMM117
{ public static void main (
String[] args)
{ int i = 0, j = 9;
do {
i++;
System.out.println(" before if "+i+ ","+j);
if (j-- < i++) {break;}
System.out.println("After if "+i+ ","+j);
}
while (i < 5);
System.out.print("After do while"+i + "," + j);
}}
try this
you will understand