Explain about Set and their types in a collection.

Answer: Set cares about uniqueness. It doesn’t allow duplications. Here “equals ( )” method is used to determine whether two objects are identical or not.

  1. Hash Set
  2. Linked Hash set
  3. Tree Set

Title
examples of hash set in java programming
examples of linked hash set in java programming
examples of tree set in java programming
total topics: 3

Topics

3

Views

204

Best Answers

299

Points

5