To find a maximum object in an array of strings (e.g., String[] names = {"red", "green", "blue"}), use

a. Arrays.max(names)
b. Arrays.sort(names)
c. Collections.max(names)
d. Collections.max(Arrays.asList(names))
e. None of the above

d

Computer Science & Information Technology

You might also like to view...

The Reading view in PowerPoint displays the taskbar as well as the presentation

Indicate whether the statement is true or false

Computer Science & Information Technology

A(n) ________ in a database can be a data source for a PivotChart

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology