what serializable means in java code example
Example 1: serializable in JAVA
public class Employee implements java.io.Serializable {
public String name;
public String address;
public transient int SSN;
public int number;
public void mailCheck() {
System.out.println("Mailing a check to " + name + " " + address);
}
}
Example 2: when to use serializable in java
serialize(empObj);