java foreach 2d array 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
}
}