Re: [問題] Java傳object

看板java作者 (null)時間13年前 (2010/12/21 02:09), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串2/2 (看更多)
◆ From: 118.161.186.177

12/20 22:55,
沒有implement serializable吧,工作後都寫C++,有點忘了
12/20 22:55

12/21 00:40,
no...我不是要傳自己想做的物件 我是要傳 socket soc;
12/21 00:40

12/21 00:42,
的soc object
12/21 00:42

12/21 02:02,
辦不到
12/21 02:02
http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html Serializability of a class is enabled by the class implementing the java.io.Serializable interface. Classes that do not implement this interface will not have any of their state serialized or deserialized. All subtypes of a serializable class are themselves serializable. The serialization interface has no methods or fields and serves only to identify the semantics of being serializable. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.161.126.96

12/24 18:50, , 1F
不懂為什麼要傳socket =.=,很神密的需求
12/24 18:50, 1F
文章代碼(AID): #1D3vlaak (java)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
文章代碼(AID): #1D3vlaak (java)