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. 2 5 9 13
You might also like to view...
A new class of objects can be created conveniently by ________; the new class (called the ________) starts with the characteristics of an existing class (called the ________), possibly customizing them and adding unique characteristics of its own.
a. inheritance, superclass, subclass. b. composition, subclass, superclass c. inheritance, subclass, superclass d. composition, superclass, subclass
Define process and thread.
What will be an ideal response?
The command sudo is used to gain what user's permissions?
A) Root B. Group C. Admin D. Owner
Some users of e-books prefer the electronic paper black-and-white screen over the models with color screens because the electronic paper resembles a paper page from a book.
Answer the following statement true (T) or false (F)