Ans : HashSet can be implemented by syntax (Hash Set< E> hs = new Hash Set< E>();) which define the capacity of the hash set.