Multiple choice

Which of the following operations on queue removes the front item from the queue and does not accept any arguments nor returns the item?

  1. Queue()

  2. enqueue(item)

  3. dequeue()

  4. isEmpty()

  5. size()

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This operation on queue removes the front item from the queue.