java object serialization class code example
Example 1: import java.io.serializable
import java.io.Serializable;
Example 2: when to use serializable in java
serialize(empObj);
import java.io.Serializable;
serialize(empObj);