Topic: implements Serializable的作用是什么?

  Print this page

1.implements Serializable的作用是什么? Copy to clipboard
Posted by: pursuer2004
Posted on: 2005-08-10 10:54

我是看到代码中老是代了一个implements Serializable,不论在抽象的class,还是某个具体的class,都有implements Serializable

请问,一个类 implements java.io.Serializable 的用意,或者说动机是什么,它有什么好处么?

2.Re:implements Serializable的作用是什么? [Re: pursuer2004] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-08-10 11:41

You don't read javadoc at all???????????

http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923