A Admin • 832.27K Points Coach Q. Which method removes the first element in a Deque and throws exception if empty? (A) pollFirst() (B) removeFirst() (C) deleteFirst() (D) pop() Correct Answer - Option(B) Views: 38 Filed under category Java Hashtags: Java Deque Share Manage Tags
Discusssion
Login to discuss.