我想說static也不能被序列化。。。,附上說明:The readObject method is responsible for reading from the stream and restoring the classes fields. It may call in.defaultReadObject to invoke the default mechanism for restoring the object's non-static and non-transient fields 回復(fù)更多評論
#re: Java transient關(guān)鍵字[未登錄]
2016-04-10 20:20 | aa