Difference between HashSet and TreeSet?

HashSet
  •     In HashSet elements are unordered 
  •     In HashSet you can add different types of object      

TreeSet
  •     In TreeSet elements are in sorted ordered 
  •     In TreeSet you can’t add different types of object; you can add only similar types of object.