You can use the methods in the Arrays class to

a. find the maximum object in an array based on the compareTo method.
b. find the maximum object in an array using a Comparator object.
c. sort an array.
d. shuffle an array.
e. do a binary search on an array.


ce

Computer Science & Information Technology

You might also like to view...

To access the Windows uninstall utility, go to the _____, then select Uninstall a Program.

A. My Computer B. Control Panel C. All Programs D. Help and Support

Computer Science & Information Technology

The align and valign properties are used for aligning columns vertically.

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

Computer Science & Information Technology

The statement ____ assigns the string "Madrid" to the first element in thestrCitiesarray.

A. strCities(0) = Madrid B. strCities(0) = "Madrid" C. strCities(1) = Madrid D. strCities(0) = {Madrid}

Computer Science & Information Technology

In an array, what is the index of the first element?

A. 0 B. 1 C. 2 D. 3

Computer Science & Information Technology