Christophe Verré wrote: there's already the same key in the map, so s2 overwrites it.
when put into map, it are two different objects, s1, s2 as its key. Key should be different. That map should have two different object inside, no overwrite here. is it correct ?
And still one question, if we have to make s equals to s1, what should we do ?
Thanks.