--HashSet--unordered,unsorted,wont allow duplicates.
--TreeSet--sorted(ascending),we can write our own rules in the constructor while building a TreeSet.
--LinkedHashSet--ordered,maintains doubly-linked list.
**HashSet and LinkedHashSet must implement the method hashCode().**