Which method is used to add an element at the end of a Deque?
Correct answer
offerLast()
Explanation
offerLast() adds an element to the tail of the Deque.
Update: Admin added a tag on this question
Topics
By Admin · · 40 views