To compare two strings lexicographically the String method ____________ should be used.

(a) equals
(b) equalsIgnoreCase
(c) compareTo
(d) ==

(c) compareTo

Computer Science & Information Technology

You might also like to view...

Explain the syntax and the capabilities of the Help cmdlet in PowerShell.

What will be an ideal response?

Computer Science & Information Technology

The deadline scheduler ________.

a) implements separate FIFO queues for read and write requests. b) ensures that read requests are serviced before their deadlines c) ensures that write requests are serviced before their deadlines d) all of the above

Computer Science & Information Technology