@@ -0,0 +1,1527 @@
+package com.njust.test.kemu2;%0A%0Aimport java.io.FileInputStream;%0Aimport java.io.FileOutputStream;%0Aimport java.io.IOException;%0Aimport java.io.ObjectInputStream;%0Aimport java.io.ObjectOutputStream;%0Aimport java.io.Serializable;%0A%0Aimport lombok.ToString;%0A%0A@ToString%0Apublic class SerializableDemo implements Serializable%0A%7B%0A    //%E9%83%BD%E5%8F%AF%E4%BB%A5%0A    public String name = %22BBB%22;%0A    %0A    //private%E5%8F%AF%E4%BB%A5%E8%A2%AB%E5%BA%8F%E5%88%97%E5%8C%96%EF%BC%8C%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96%0A    private int age = 90;%0A    %0A    //final%E4%B8%8D%E5%8F%AF%E4%BB%A5%E8%A2%AB%E5%8F%8D%E5%BA%8F%E5%88%97%E5%8C%96%EF%BC%8C%E5%8D%B3%E4%B8%8D%E8%83%BD%E8%A2%AB%E4%BF%AE%E6%94%B9%0A    final String hobby = %22yyy%22;%0A    %0A    public static void main(String%5B%5D args)%0A        throws IOException, ClassNotFoundException%0A    %7B%0A        SerializableDemo demo = new SerializableDemo();%0A        //SerializableDemo(name=AAA, age=10, hobby=xxx)%0A        //writeObject(demo);%0A        SerializableDemo demo222 = (SerializableDemo)readObject();%0A        //SerializableDemo(name=AAA, age=10, hobby=yyy)%0A        System.out.println(demo222);%0A    %7D%0A    %0A    private static Object readObject()%0A        throws IOException, ClassNotFoundException%0A    %7B%0A        try (ObjectInputStream objectInputStream = new ObjectInputStream(new FileInputStream(%22./111.txt%22)))%0A        %7B%0A            return objectInputStream.readObject();%0A        %7D%0A    %7D%0A    %0A    private static void writeObject(Serializable serializable)%0A        throws IOException%0A    %7B%0A        try (ObjectOutputStream objectOutputStream = new ObjectOutputStream(new FileOutputStream(%22./111.txt%22)))%0A        %7B%0A            objectOutputStream.writeObject(serializable);%0A            objectOutputStream.flush();%0A        %7D%0A        %0A    %7D%0A    %0A%7D%0A

Create SerializableDemo.java