Collections method __________ returns true if two Collections have no elements in common.

a. shuffle.
b. contains.
c. hasCommon.
d. disjoint.


D

Computer Science & Information Technology

You might also like to view...

For String c = "Hello. She sells sea shells";

The Java statements int i = c.indexOf("ll"); int j = c.lastIndexOf("ll"); will result in: a. i = 2 and j = 24. b. i = 3 and j = 24. c. i = 2 and j = 25. d. i = 3 and j = 23.

Computer Science & Information Technology

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

1. Java interfaces are a way of simulating multiple inheritance. 2. An interface specifies the headings and definitions for methods that must be defined in any class that implements the interface. 3. A class may only implement one interface. 4. An interface is a type. 5. You can not derive an interface from a base interface.

Computer Science & Information Technology

When the Cut button or the Copy button on the Home tab is used, the ________ key or the Paste button places the cut or copied content in the selected paste area

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

Computer Science & Information Technology

Which of the following file names is appropriate for the main document in a mail merge?

A. 78-d1 B. 78-d1main C. 78-d1data source D. 78-d1a

Computer Science & Information Technology