for each loop syntax in java for 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
}
}