Math, asked by bansalchirag3036, 11 months ago

Tow diffrences b/w sets and collection

Answers

Answered by mishka93
1

Step-by-step explanation:

here's your answer

  • Set guarantees that the collection will contain unique elements (no duplicates). A Collection does not guarantee this. The Set interface contains only methods inherited from Collection and adds the restriction that duplicate elements are prohibited. ... Two Set instances are equal if they contain the same elements

hope it's helpful for you ☺️

Similar questions