Home / Report Question

Q. Which method adds an element to the queue and throws an exception if full?
  • A. add()
  • B. offer()
  • C. push()
  • D. put()