0
Condition in for loop what it means ?
int[][] abcd; for ( int[] abc : abcd){ .... .... ...}
1 Respuesta
+ 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);
}