摘要:
printStream public class Demo99 { public static void main(String[] args) throws FileNotFoundException { PrintStream ps = new PrintStream("C:\\Users\\q 阅读全文
摘要:
序列化和反序列化的图示: 简单来讲,序列化就是将对象写入文件当中去 反序列化就是将对象从文件中读取出来 关于类 ObjectOutputStream 准备写入 的累: import java.io.Serializable; public class Person implements Serial 阅读全文
摘要:
public class Demo6 { public static void main(String[] args) throws IOException { FileOutputStream fos = new FileOutputStream("C:\\Users\\quan\\Desktop 阅读全文