The reverse method is defined in this section. What is list1 after executing the following statements?
```
int[] list1 = {1, 2, 3, 4, 5, 6};
int[] list2 = reverse(list1);
```
a. list1 is 1 2 3 4 5 6
b. list1 is 6 5 4 3 2 1
c. list1 is 0 0 0 0 0 0
d. list1 is 6 6 6 6 6 6
a
Computer Science & Information Technology
You might also like to view...
Which of the following is NOT typically a newsletter feature?
A) Borders and shading B) Drop caps C) Multiple columns D) Hyperlinks
Computer Science & Information Technology
What factors can be used to measure efficiency?
What will be an ideal response?
Computer Science & Information Technology