0

Condition in for loop what it means ?

int[][] abcd; for ( int[] abc : abcd){ .... .... ...}

25th Jun 2017, 3:17 AM
Devendera Maurya
Devendera Maurya - avatar
1 ответ
+ 2
for( int x = 0; x < 5; x++){ System.out.println(x); ) the ( x < 5 ) is a condition. It means that when x is smaller run the loop. It is like an if statement's condition: if(true){ System.out.println(true); }
25th Jun 2017, 1:14 PM
Limitless
Limitless - avatar