A Admin • 828.03K Points Coach Q. What exception does `element()` throw if the queue is empty? (A) IllegalArgumentException (B) NullPointerException (C) IllegalStateException (D) NoSuchElementException Correct Answer - Option(D) Views: 13 Filed under category Java Hashtags: Java Queue Share Manage Tags
Discusssion
Login to discuss.