How do you iterate through elements in a 2D array in Java?
Using a single for loop
Using nested for loops
Using recursion
Using while loops