A

Admin • 831.35K 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: 24
  • 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.