Hi Gong, I don't understand your question. But regarding serialization: Serialization saves the state of any class object. Since static variables are class variables and don't relate to object state they are not serialized. Transient variables tell the serialization not to serialize the state of this variable. Therefore, transient variables are not serialized. Regards, Manfred.
It sure was nice of your sister to lend us her car. Let's show our appreciation by sharing this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss