how to use ? for multiple if else statment in java code example
Example 1: multiple condition inside for loop java
for (int i = 0, j = 0; isMatrixElement(i,j,myArray); i++, j++) {
// ...
}
Example 2: multiple condition inside for loop java
for( int i = 0 ; i < 100 || someOtherCondition() ; i++ ) {
...
}