Home / Report Question

Q. Which method removes the element at the front without throwing exception?
  • A. pollFirst()
  • B. removeFirst()
  • C. pop()
  • D. getFirst()