write the difference between collection and set
Answers
Answered by
0
Answer:
hy
Step-by-step explanation:
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 helps you
Plz mark me brainlist ↬↬↬↬↬
Similar questions