Use the selectionSort method presented in this section to answer this question. What is list1 after executing the following statements? double[] list1 = {3.1, 3.1, 2.5, 6.4}; selectionSort(list1);
A. list1 is 3.1, 3.1, 2.5, 6.4
B. list1 is 3.1, 2.5, 3.1, 6.4
C. list1 is 2.5 3.1, 3.1, 6.4
D. list1 is 6.4, 3.1, 3.1, 2.5