Match the methods and their definitions.
Mutable List
Methods of Mutable List
Report a typo
Match the items from left and right columns
removeAt()
remove()
clear()
add()
set()
addAll()
Replaces the element at the specified position with a specified element
Removes an element at a specified index
Removes the specified element
Adds an extra element to a list
Removes all elements from the current collection
Adds all of the elements of the specified collection to the end of the list
___
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.