Matching methods and descriptions

Report a typo

Define the methods of working with Pairs.

Match the items from left and right columns
component2()
toList()
toString()
copy()
component1()
give the value of the second component of a Pair
copy the Pair to another Pair
returns the string representation
converts the Pair into a list
give the value of the first component of a Pair
___

Create a free account to access the full topic