Question: Which statements are true about Deque? ( Choose three ) Implementations of ArrayDeque will auto - expand. Null values are not allowed. If the deque

Which statements are true about Deque? (Choose three)
Implementations of ArrayDeque will auto-expand.
Null values are not allowed.
If the deque is empty, pool and peek operations throw an exception.
peekFirst(T) and peekLast(T) returns and removes the element at the head or tail of the Deque.
offerFirst(T) and offerLast(T) insert elements at the head and the tail of the deque.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!