Solved

Which Statement in the Following Sequence of Statements About Sorting

Question 33

Multiple Choice

Which statement in the following sequence of statements about sorting objects by two fields is false?


A) To sort objects by two fields, you create a Comparator that uses two Functions.
B) First you call Comparator method comparing to create a Comparator with the first Function.
C) On the Comparator for the first field, you call method comparing with the second Function.
D) The resulting Comparator compares objects using the first Function then, for objects that are equal, compares them by the second Function.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents