1
2
3
4
5
6
7
8
9
10
11
12
13
import java.io.Serializable;
public class PatientInfo implements Serializable {
private static final long serialVersionUID = 42;
private final String name;
private final int age;
public PatientInfo(final String name, final int age) {
this.name = name;
this.age = age;
}
}
Enter to Rename, Shift+Enter to Preview
1
import java.io.FileOutputStream;
Enter to Rename, Shift+Enter to Preview
1
import java.io.FileInputStream;
Enter to Rename, Shift+Enter to Preview
1
cd chapter13
Enter to Rename, Shift+Enter to Preview