Think about methods

Report a typo

This task will require some thinking! Which mutable collection type can the following methods and properties belong to?

Tip: Please be attentive: some operations can belong to multiple collection types and even apply to all three!

Choose one or more options for each row
ListSetMap
size
clear()
subList(fromIndex, toIndex)
isEmpty()
put(key, value)
add(element)
___

Create a free account to access the full topic