TIAA interview question

What will happen if 2 objects are saved in Hashset