1 photo
HashSet in Java
Description
HashSet is an Implementation class of Set Interface.It implements 2 marker Interfaces i.e. Serializable and Cloneable.The underlined data structure of HashSet is HashTable. The default capacity of HashSet is 16, and it grows based on load factor or fill ratio.Internally it gets the HashCode number of e1 and keeps it as a key in the table.It doesn't allow duplicate elements based on the Hashcode.
for more free learning visit us at:
https://quipoin.com/view/Java/HashSet
for more free learning visit us at:
https://quipoin.com/view/Java/HashSet

Loading

Comments Add new