Wie man ein 2D -Array in Java summiert
for (int[] Array1 : Array) { //"Array" is the name of my array in this problem
for (int colu = 0; colu < Array.length; colu++) { //"Colu" is the variable
//so change it on your
//code.
sum = sum + Array1[colu];
}
}
Glorious Gaur