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...

What is a macro-language version of Microsoft Visual Basic that is used to program Windows applications, including Access?

A. MVAB B. VBS C. MB D. VBA

Computer Science & Information Technology

Which of the following statements correctly returns the int variable value from a method?

a) return value(); b) return int value; c) value return; d) return value;

Computer Science & Information Technology

________ access typically operates at speeds of 256 kilobytes per second

Fill in the blank(s) with correct word

Computer Science & Information Technology

Platform queries specify a different style sheet for each device.

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

Computer Science & Information Technology