Set Interface

Set Interface

  • This can be used for representing a group of Individual objects where insertion order is not preserved and duplicate objects are not allowed.
  • Set interface is child interface of Collection.
  • This interface doesn’t contain any new method and we have to use only collection Interface methods.
  • Set interface does not contain any new method we have to use only Collection interface methods.

Set interface is implemented by

  1. HashSet
  2. LinkedHashSet
  3. SortedSet
  4. TreeSet

Set Interface
Scroll to top