Java学习-IO流-序列化流综合练习
public class Student implements Serializable{
private String name;
private int age;
private String address;
@Seria
private static final long serialVersionUID = 123456789L;
}
序列化:
Student s1 = new Student("高启强",23,"南京");
Student s2 = new Student("安欣",24,"重庆");
Student s3 = new Student("泰叔",