Explore Connect Documentation
Snippets
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;
    }
}
Press desired key combination and then press ENTER.
1
import java.io.FileOutputStream;
Press desired key combination and then press ENTER.
1
import java.io.FileInputStream;
Press desired key combination and then press ENTER.
1
cd chapter13
Press desired key combination and then press ENTER.