Methods of Mutable List

Report a typo

Match the methods and their definitions.

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
___

Create a free account to access the full topic