Mark As Completed Discussion

Try this exercise. Click the correct answer from the options.

What is a characteristic of the Deque interface in the Java Collections Framework?

Click the option that best answers the question.

  • It allows elements to be inserted and removed from both ends
  • It allows elements to be inserted and removed from the beginning only
  • It allows elements to be inserted and removed from the end only
  • It allows elements to be inserted and removed from the middle