对象反序列化流
-
對象反序列化流: ObjectInputStream
-
ObjectInputStream反序列化先前使用ObjectOutputStream編寫的原始數據和對象
-
-
構造方法
方法名說明 ObjectInputStream(InputStream in) 創建從指定的InputStream讀取的ObjectInputStream -
反序列化對象的方法
方法名說明 Object readObject() 從ObjectInputStream讀取一個對象 -
示例代碼
?
總結
- 上一篇: 对象序列化流
- 下一篇: serialVersionUIDtran