title
description
- unordered collection of distinct objects
- eg.
- set builder notation:
- data types in CS is built upon the concept of a set
-
my_set = {1,2,"hi"} # set from iterable object my_set = set([1,2, "hi"]) -
Set<Integer> mySet = newHashSet<>();