Serialization In Java
Serialization In Java - In java, serialization is the process for writing the state of object in sequence of bytes stream. Serialization process for an object also called marshalling. How to serialize an object? Serializble is a marker interface, Through the implimantaion of Serializble interface any object can be serialize. There is no methods in Serializble interface, but Serializble interface tell to JVM that Object can be written in byte stream. If Serialized object have any transient variable . It means transient variable will not written in to byte stream. Example of Serialization - class A implements Serializable{ A(String personName, Integer age){ this.personName=personName; this.age=age; } private String personName = nul...