A Admin • 828.03K 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: 13 Filed under category Java Hashtags: Java Deque Share Manage Tags
Discusssion
Login to discuss.