How does the set collection deal with duplicate elements?
An exception is thrown if you attempt to add an element with a duplicate value
The add method returns false if you attempt to add an element with a duplicate value
A set may contain elements that return duplicate values from a call to the equals method
Duplicate values will cause an error at compile time