![]() Related Questions Latest Answer : Serialization is a techniques which maintain the state of the object.In java automatically call the destructer and destroy the object by the gc()method.We want to my object state can be maintain so we use the concept of serializationFor ExampleSuppose ... Latest Answer : You can use the keyword transient, for which you don't want to be serialized. ... Latest Answer : Serializability of a class is enabled by the class implementing the java.io.Serializable interface. Classes that do not implement this interface will not have any of their state serialized or deserialized. All subtypes of a serializable class are themselves ... Serialization ignores static variable and transient variables. Why? Latest Answer : Serialization is a techniques which maintain the state of the object and static variables are class variable, they do not define the state of an object. so serialization ignore this.Transient variable means which are not persisted. When we define a variable ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||