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
- HashSet
- LinkedHashSet
- SortedSet
- TreeSet
Set Interface