Method不能序列化

1 Method不能序列化
Method 沒有implements java.io.Serializable(不然序列化會報錯)java

2 不須要序列化的字段申明 java transient關鍵字 3 Class 就能夠序列化io

相關文章
相關標籤/搜索