where do we use hashset in java code example Example: hashset in java - HashSet can have null, order is not guaranteed