Externalizable in Java
We can customise the Serialization process by the following two ways: Implementing Externalizable interface. Implement Serializable and add the following[…]
Read moreAmplify your java knowledge with javagyansite
We can customise the Serialization process by the following two ways: Implementing Externalizable interface. Implement Serializable and add the following[…]
Read moreMagic Methods to Customize Serialization (i) private void writeObject(ObjectOutputStream out) throws IOException: This method helps in customizing the serialization process.Here we can[…]
Read moreserialVersionUID is the only static field that gets serialized during object serialization.It basically represents the version of the class. package[…]
Read moreSerialization in simple words is the process of converting java object into bytes. Deserialization is the opposite action i.e., converting[…]
Read more