foreach on 2d array java code example
Example: reading a 2d array with for each loop
for (int[] u: uu) {
for (int elem: u) {
// Your individual element
}
}
for (int[] u: uu) {
for (int elem: u) {
// Your individual element
}
}