What is the output of the following program?
```
public class Test {
public static void main(String[] args) {
int[][] values = {{3, 4, 5, 1 }, {33, 6, 1, 2}};
for (int row = 0; row < values.length; row++) {
java.util.Arrays.sort(values[row]);
for (int column = 0; column < values[row].length; column++)
System.out.print(values[row][column] + " ");
System.out.println();
}
}
}
```
a. The program prints two rows 3 4 5 1 followed by 33 6 1 2
b. The program prints on row 3 4 5 1 33 6 1 2
c. The program prints two rows 3 4 5 1 followed by 2 1 6 33
d. The program prints two rows 1 3 4 5 followed by 1 2 6 33
e. The program prints one row 1 3 4 5 1 2 6 33
d. The program prints two rows 1 3 4 5 followed by 1 2 6 33
You might also like to view...
The combination of audio, visual, and mechanical tools that you use to interact with a computer is called the ____________________.
Fill in the blank(s) with the appropriate word(s).
?A common example of a connection-oriented network application is DNS.
Answer the following statement true (T) or false (F)