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 2.5 3.1, 3.1, 6.4
c. list1 is 6.4, 3.1, 3.1, 2.5
d. list1 is 3.1, 2.5, 3.1, 6.4


b

Computer Science & Information Technology

You might also like to view...

You can access a browser and display a Web page during your presentation.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A template that the analyst may use when beginning to model or talk about the system from an O-O perspective is called a:

A) CRC card. B) UML descriptor. C) whole-part structure. D) design layer. E) User Message Language.

Computer Science & Information Technology

Monitor screens are made up of millions of tiny dots known as

a. bytes. b. resolution points. c. pixels. d. bits.

Computer Science & Information Technology

Wikis allow many individuals to edit the site's content.

a. true b. false

Computer Science & Information Technology