How is it related to Collections?

0 votes

- This interface provides certain methods to access the values contained in a mathematical set which is finite.
- These are unique because they don't allow duplicate values. This is how sets function in conventional mathematics as well.
- Since they are implementing Collection, they have no other methods than the ones inherited by Collection.
- Since sets are operated on in conventional mathematics, two sets are equal if they are inhabited by the same set values.

There are a lot of similar ways to store a 'collection' of values if you're looking to learn java. Try and find out more hands-on to implement the use cases.