A

Admin • 802.91K Points
Coach

Q. Which method is used to add an element at the end of a Deque?

  • (A) offerLast()
  • (B) addEnd()
  • (C) append()
  • (D) push()

Explanation by: Admin
offerLast() adds an element to the tail of the Deque.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.