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}};

int v = values[0][0];
for (int row = 0; row < values.length; row++)
for (int column = 0; column < values[row].length; column++)
if (v < values[row][column])
v = values[row][column];

System.out.print(v);
}
}
```
a. 1
b. 3
c. 5
d. 6
e. 33


e. 33

Computer Science & Information Technology

You might also like to view...

A(n) ________ is an input device that looks like a pen

A) stylus B) joystick C) pointer D) e-rod

Computer Science & Information Technology

Find the error(s) in the following code. The following method should create a new Shape object with numberSides sides. Assume the Shape class is from Exercise 18.14.

``` 1 private void manipulateShape( int numberSides ) 2 { 3 Shape shape = new Shape( 3 ); 4 5 shape.sides = numberSides; 6 } ```

Computer Science & Information Technology

Which of the following statements is true of virtual memory?

A. ?It lets programs run faster than when they use the RAM. B. ?It stores some of the program during program execution. C. ?It uses the whole of the hard drive as additional RAM. D. ?It can store the information saved on it permanently.

Computer Science & Information Technology

Most projects are scheduled from a project Start date.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology