A

Admin • 833.24K Points
Coach

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

  • (A) add()
  • (B) offerFirst()
  • (C) push()
  • (D) insert()
  • Correct Answer - Option(B)
  • Views: 35
  • Filed under category Java
  • Hashtags: Java Deque

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.