Java 之 Serializable 序列化和反序列化

转自:https://blog.csdn.net/qq_27093465/article/details/78544505

transient修饰的成员是不能被序列化的

static静态的也不能被序列化

猜你喜欢

转载自blog.csdn.net/m0_37668842/article/details/80820562