Collections method sort that accepts a List as an argument. It sorts the List elements, which must implement the __________ interface.

a. Comparable.
b. Comparator.
c. Compare.
d. Ordering.


a. Comparable.

Computer Science & Information Technology

You might also like to view...

Which of the following is a key benefit of using JDBC?

a. It is a simple-to-use database management system. b. Allows developers to change the underlying database without modifying the Java code. c. It is a multi-platform database management system. d. It provides a GUI for database management systems.

Computer Science & Information Technology

Explain the following programming statement in terms of objects and the services they provide.

``` System.out.println ("I gotta be me!"); ```

Computer Science & Information Technology

In PowerPoint terms, ____ a photo means cutting out the parts you don't want to include.

A. snipping B. cropping C. trimming D. dashing

Computer Science & Information Technology

To assist you in entering the VBA code, the Visual Basic Editor uses ____________________, a list of words that can be used in the macro statement and match what you type.

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

Computer Science & Information Technology