Sollicitatievraag bij General Motors (GM)

How does a set ensure no duplicate objects?

Antwoord op sollicitatievraag

Anoniem

3 mrt 2023

It uses its equals method to compare any new object to be added to other objects in the set.