A Admin • 828.43K Points Coach Q. Which method removes and returns the first element, throwing an exception if empty? (A) pollFirst() (B) pop() (C) removeFirst() (D) peekFirst() Correct Answer - Option(C) Views: 12 Filed under category Java Hashtags: Java Deque Share Manage Tags
Discusssion
Login to discuss.