A

Admin • 802.91K Points
Coach

Q. Which method adds an element at the front of the Deque?

  • (A) add()
  • (B) offerFirst()
  • (C) push()
  • (D) insert()

Explanation by: Admin
offerFirst() adds an element at the front of the Deque.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.