Answer:
for (int i = 0; i < a[].length; i++) {
for (int j = 0; j < a[][].length; j++) {
if (a[i][j] > 7)
return a[i][j];
}
}
Explanation:
A nested for-loop can iterate through every row and column and then perform the comparison, returning it if the condition is met.