Match methods with their purposes

Report a typo

Match method names with their functions:

Match the items from left and right columns
Collections.singleton(...)
Collections.shuffle(...)
Collections.frequency(...)
Collections.swap(...)
Collections.disjoint(...)
returns the number of elements in the collection equal to the given object
creates a set containing only one element
returns true if the two collections have no common elements.
permutes the elements at the specified positions in the list
randomly permutes elements of the list
___

Create a free account to access the full topic