最病 A Java Object Serialization --How a Objects to be saved in the stream may support either the Serializable or the Exfernalizable interface n For Serializable objects, the stream includes sufficient information to restore the fields in the stream to a compatible version of the class n For Externalizable objects, the class is solely responsible for the external format of its contents. Institute of Computer Software 2021/1/28 Nanjing UniversityJava Object Serialization -- How Objects to be saved in the stream may support either the Serializable or the Externalizable interface. For Serializable objects, the stream includes sufficient information to restore the fields in the stream to a compatible version of the class. For Externalizable objects, the class is solely responsible for the external format of its contents. 2021/1/28 Institute of Computer Software Nanjing University 13