例:
这是一个学生的实体类
class Student implements Serializable{
private static final long serialVersionUID = 1L;
//定义的私有属性
private int id;
private String name;
private int age;
private double score;
//无参数构造方法
public Student(