What is the output of the following code?

```
public class Test {
public static void main(String[] args) {
int[][] matrix =
{{1, 2, 3, 4},
{4, 5, 6, 7},
{8, 9, 10, 11},
{12, 13, 14, 15}};

for (int i = 0; i < 4; i++)
System.out.print(matrix[i][1] + " ");
}
}```

a. 1 2 3 4
b. 4 5 6 7
c. 1 3 8 12
d. 2 5 9 13
e. 3 6 10 14


d

Computer Science & Information Technology

You might also like to view...

In what circumstances is it better to access such files sequentially?

What will be an ideal response?

Computer Science & Information Technology

Module ________ provides methods for accessing data over the Internet.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

When a symbol can be formatted with such text features as Bold, Italics, and Font Color the symbol is a(n) ________

A) shape graphic B) picture graphic C) character graphic D) text graphic

Computer Science & Information Technology

?Low-level languages include machine and assembly languages.

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

Computer Science & Information Technology