最病 A The Externalizable Interface a The class of an externalizable object must do the following: a Implement the java. io Externalizable interface a Implement a write External method to save the state of the object a Implement a readExternal method to read the data written by the write External method from the stream and restore the state of the object a Have the write External and readExternal methods be solely responsible for the format, if an externally defined format is written a Have a public no-arg constructor Institute of Computer Software 2021/1/28 Nanjing UniversityThe Externalizable Interface The class of an Externalizable object must do the following: Implement the java.io.Externalizable interface Implement a writeExternal method to save the state of the object Implement a readExternal method to read the data written by the writeExternal method from the stream and restore the state of the object Have the writeExternal and readExternal methods be solely responsible for the format, if an externally defined format is written Have a public no-arg constructor 2021/1/28 Institute of Computer Software Nanjing University 17