Hi All! I have a confusion while studying Serialization. Can any one help in undestanding What will happen with a static property of a class when its object will be serialized.As static property is attached with class not object and serialization writes object state to some file system. Waiting for replies, Thanks in advance
in this case, will static variable behave like Transient one. I want to know,when that object will be deserialized,what value it will have for that static variable. As per my understanding, transient variables get their default value when serialized or deserialized.