Y
Ye Dafeng
I am searching for job now and I got a question between HashSet and TreeSet.
The question is: serialize the HashSet and TreeSet, then deserialize
them, what is the difference between these two sets.
I could not answer the question. After the interview, I think about the
question carefully, I think after deserializing, the HashSet may not be
reconstructed because the hash code can not be calculated. Is that right?
The question is: serialize the HashSet and TreeSet, then deserialize
them, what is the difference between these two sets.
I could not answer the question. After the interview, I think about the
question carefully, I think after deserializing, the HashSet may not be
reconstructed because the hash code can not be calculated. Is that right?