PriorityQueue method __________ inserts an element at the appropriate location in the queue.
A) offer.
B) push.
C) poll.
D) peek.
Correct Answer:
Verified
Q22: The collections framework provides various _ collection
Q23: Class Collections provides algorithms for reversing, filling
Q24: Which statement is false?
A) The Collections API
Q25: Which of the following is not an
Q26: Which statement is false?
A) Java does not
Q28: Collections method _ returns true if two
Q29: Which statement is false?
A) SortedSet extends Set.
B)
Q30: Which statement is false?
A) All built-in collections
Q31: If the desired Object is not found,
Q32: To find the smallest and largest element
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