A Admin • 830.13K Points Coach Q. What happens when you call `remove()` on an empty queue? (A) Returns null (B) Throws NoSuchElementException (C) Throws NullPointerException (D) Does nothing Correct Answer - Option(B) Views: 12 Filed under category Java Hashtags: Java Queue Share Manage Tags
Discusssion
Login to discuss.