IF you make a set of with Set<object> declaration u need to make sure that Class(for object) overrides the hash codes and equals method correctly else duplicates will be allowed. when you are working...