To compare String objects for the purpose of sorting, a programmer should


A) use the comparison operator <
B) use the comparison operator <=
C) use the compareTo method of the Comparable interface
D) use the relational operator < to compare references to the String objects


C) use the compareTo method of the Comparable interface

Computer Science & Information Technology

You might also like to view...

Use the _______ property to configure a linear gradient.

a. linear-gradient b. background-color c. background-image d. opacity

Computer Science & Information Technology

Draw a UML model of the team organization of the OWL project for each the three main phases (i.e., initiation, steady state, termination).

What will be an ideal response?

Computer Science & Information Technology

QuickTime software comes standard with the ____ operating system.

A. Windows B. Apple C. Linux D. Unix

Computer Science & Information Technology

What will the status of the M and O flags be in the RA-ICMP field if a combination of SLAAC and DHCPv6 are being used?

A. 0, 0 B. 0, 1 C. 1, 0 D. 1, 1

Computer Science & Information Technology