java when to use serializable 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);