What is the result of the following?
4: List<Integer> list = Arrays.asList(10, 4, -1, 5);
5: Collections.sort(list);
6: Integer array[] = list.toArray(new Integer[4]);
7: System.out.println(array[0]);
A.
Line 4 creates a fixed size array of size 4.
Line 5 sorts it. Line 6 converts it back to an array.
The brackets aren't in the traditional place, but they are still legal.
Line 7 prints the first element, which is now -1.