集册 Java 面试笔记 Externalizable 接口?

Externalizable 接口?

欢马劈雪     最近更新时间:2020-08-04 05:37:59

209

Externalizable is an interface which contains two methods readExternal and writeExternal. These methods give you a control over the serialization mechanism. Thus if your class implements this interface, you can customize the serialization process by implementing these methods.