A

Admin • 828.03K Points
Coach

Q. Which method can be used to traverse a queue?

  • (A) forEach()
  • (B) traverse()
  • (C) iterate()
  • (D) walk()

Explanation by: Admin
`forEach()` is commonly used to iterate over collections, including queues.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.