标签:
ObjectOutputStream out = new ObjectOutputStream(//输出流,文件或者网络); out.writeObject(obj);
ObjectInputStream in = new ObjectInputStream(// 输入流,文件或者网络); Object obj1 = in.readObject();
java序列化
原文地址:http://www.cnblogs.com/sten/p/5656321.html