To find the smallest and largest element of a Collection,use Collections methods _________ and __________.
A) least,greatest.
B) small,large.
C) first,last.
D) min,max.
Correct Answer:
Verified
Q21: The collections framework provides various _ collection
Q21: _ methods enable a program to view
Q23: Class Collections provides algorithms for reversing, filling
Q24: Which statement is false?
A) The Collections API
Q27: Map method _ is used to determine
Q29: Which statement is false?
A) SortedSet extends Set.
B)
Q30: Which statement is false?
A) All built-in collections
Q30: Stack method _ looks at the top
Q34: If the desired Object is not found,binarySearch
Q36: Maps allocate keys to values and cannot
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents