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