posted 17 years ago
hi,
could someone explain me how will be the out put 3 4 5 from the following code
1. int i, j;
2. lab: for( i = 0; i < 6; i++ ){
3. for( j = 5; j > 2; j-- ){
4. if( i == j ) {
5. System.out.print(" " + j ) ;
6. continue lab ;
7. }
8. }
9. }
i think, the statement at line 5 never reached.so there is no output.
thanks in advance,
reena