Which of the following statements are true?

a. Collections.shuffle(list) randomly reorders the elements in the list.
b. Collections.shuffle(list, Random) randomly reorders the elements in the list with a specified Random object.
c. If list1 and list2 are identical, the two lists may be different after invoking Collections.sort(list1) and Collections.sort(list2).
d. If list1 and list2 are identical, the two lists are still identical after invoking Collections.sort(list1, new Random(3)) and Collections.sort(list2, new Random(3)) with the same Random object.


abcd

Computer Science & Information Technology

You might also like to view...

Cruising a neighborhood in search of open wireless networks is called wardriving

Indicate whether the statement is true or false

Computer Science & Information Technology

The pasteboard only shows the objects that are visible at a particular point in an animation.

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

Computer Science & Information Technology

To open the Insert New Pictures dialog box in the Photo Album dialog box under Insert picture from, you click ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Instead of throwing away ink and toner cartridges, recycle them because _______ .

A. manufacturers refill used cartridges for resale B. refilling cartridges consumes less energy than making new ones C. buying recycled cartridges reduces e-waste and energy consumption D. all of the above

Computer Science & Information Technology