Object serialization

When java serializes a class without a SUID it must generate one on the fly, my question is if you are serializing a hash table full of objects and they are all the same object type, does java generate one SUID for that object type and use that SUID all the objects or does it generate a SUID for each object in the hashmap even though they are the same class?

[381 byte] By [javamann] at [2007-9-26 1:32:35]
# 1
Each class has a serialVersionUID (SUID). It belongs to the class, not the objects. It is a static final field.
schapel at 2007-6-29 1:33:48 > top of Java-index,Archived Forums,Java Programming...