How does set determines the duplicate elements?
Answers
Answered by
4
If hashCodes equal and objects equal, then the insertion is resolved as duplicated element and the add method returns false.
Similar questions
English,
7 months ago
Science,
7 months ago
Computer Science,
7 months ago
Social Sciences,
1 year ago
Science,
1 year ago
Science,
1 year ago