A Admin • 833K Points Coach Q. Which method throws an exception if the queue is empty while retrieving the head? (A) poll() (B) peek() (C) element() (D) get() Correct Answer - Option(C) Views: 32 Filed under category Java Hashtags: Java Queue Share Manage Tags
Discusssion
Login to discuss.