A Admin • 828.03K Points Coach Q. Which of the following Deque methods are used for stack-like behavior? (A) offerLast() and pollFirst() (B) push() and pop() (C) addLast() and removeLast() (D) addFirst() and removeFirst() Correct Answer - Option(B) Views: 11 Filed under category Java Hashtags: Java Deque Share Manage Tags
Discusssion
Login to discuss.