Arrange the following options by arranging method names with the correct counterpart that matches the description.
Queue
Method names
Report a typo
Match the items from left and right columns
offerFirst()
addLast()
addFirst()
pollFirst()
pollLast()
Retrieves and removes the first element
Inserts at the end
Retrieves and removes the last element
Inserts at the front without throwing exception
Inserts at the front
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.