A

Admin • 828.03K Points
Coach

Q. Which of the following is not a valid Deque method?

  • (A) removeFirst()
  • (B) putLast()
  • (C) insertEnd()
  • (D) pollLast()
  • Correct Answer - Option(C)
  • Views: 12
  • Filed under category Java
  • Hashtags: Java Deque

Explanation by: Admin
`insertEnd()` is not part of the Deque API in Java.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.