Multiple Choice
Assume that you have declared a queue named myQueue to hold String elements.Which of the following statements will correctly delete an element from myQueue?
A) myQueue.delete() ;
B) myQueue.remove() ;
C) myQueue.get() ;
D) myQueue.pop() ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q22: Select an appropriate expression to complete the
Q23: You need to access values using a
Q24: Which of the following statements about stacks
Q25: Consider the code snippet shown below.Assume that
Q26: Using the merge method of the Map
Q28: Suppose you push integer elements 1,2,3,4 onto
Q29: Assume that you have declared a stack
Q30: A list is a collection that _.<br>A)does
Q31: Which of the following statements about a
Q32: You need to write a program to