What is the output of the following code?

```
public class Test5 {
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[1][i] + " ");
}
}
```
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


b. 4 5 6 7

Computer Science & Information Technology

You might also like to view...

Provide steps in verifying hashes.

As mentioned before, a common use for hashes is to verify file integrity. Follow the steps below to use SHA-2-256 hashes to verify the integrity of sample.img, a file downloaded from the Internet.

Computer Science & Information Technology

Which event is triggered any time you enter or update data on a form?

A. After Update B. After Enter C. After Change D. After Modification

Computer Science & Information Technology

Which statement launches an intent to start an activity named Tween?

A. startIntent (new Intent (MainActivity.this, Tween.class)); B. startActivity (new Intent (MainActivity.this, Tween.class)); C. startActivity (new Activity (MainActivity.this, Tween.class)); D. startIntent (new Activity (MainActivity.this, Tween.class));

Computer Science & Information Technology

The term three-way handshake describes the use of electronic communications to harass or threaten another person.

a. true b. false

Computer Science & Information Technology