I am a Solivagant
Lofter    Posts     新文章     文章管理     新日记     日记管理

[Java] transient modifier java

The transient modifier. A transient modifier applied to a field tells Java that this attribute should be excluded when the object is being serialized. When the object is being deserialized, the field will be initialized with its default value (this will typically be a null value for a reference type, or zero/false if the object is a primitive type).
posted @ 2019-08-26 11:04  宛如ZZ  阅读(171)  评论(0编辑  收藏  举报