What method in the `SortedSet` interface returns the first element?
The `headSet()` method returns the elements strictly less than the given element, and it can be used to get the first element.
You're partially correct. `headSet()` can return a subset, but it's not specifically for getting the first element.
Can you explain how you would use `first()` to retrieve the smallest element of a `SortedSet`?