Science, asked by shaidpsycho430, 1 year ago

How does set determines the duplicate elements?

Answers

Answered by tanu71
4
If hashCodes equal and objects equal, then the insertion is resolved as duplicated element and the add method returns false.
Similar questions