首页 > 编程语言 > 详细

[Java] transient modifier java

时间:2019-08-26 11:19:21      阅读:51      评论:0      收藏:0      [点我收藏+]
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).

[Java] transient modifier java

原文:https://www.cnblogs.com/zienzir/p/11411326.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!