Java序列化对象
1.对象需实现 Serializeable接口(接口无需实现的方法)
2.ObjectOutputStream 类序列化对象
示例代码:
public static void writeGrade(String studat, Student[] students) throws IOException {
OutputStream out = new FileOutputStream(studat);
ObjectOutp