Which Deque method inserts an element at the tail without throwing exception?
Correct answer
offerLast()
Explanation
`offerLast()` returns false if the Deque is full, rather than throwing an exception.
Update: Admin added a tag on this question
Topics
By Admin · · 28 views