抛出EOF异常
private void readObject(java.io.ObjectInputStream s) throws java.io.IOException,ClassNotFoundException{
s.defaultReadObject();
this.stuAge = s.readInt();
}
private void readObject(java.io.ObjectInputStream s) throws java.io.IOException,ClassNotFoundException{
s.defaultReadObject();
this.stuAge = s.readInt();
}
2016-07-18
举报