Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 276 Bytes

File metadata and controls

7 lines (5 loc) · 276 Bytes

serialization

Serialization is a mechanism by which you can save the state of an object by converting it to a byte stream.

JAVA中实现serialization主要靠两个类: ObjectOuputStream和ObjectInputStream. 他们是JAVA IO系统里的OutputStream和InputStream的子类