Java关键字transient和volatile小结
摘要:转自:http://heaven-arch.iteye.com/blog/1160693 transient和volatile两个关键字一个用于对象序列化,一个用于线程同步,都是Java中比较高阶的话题,简单总结一下。 transient transient是类型修饰符,只能用来修饰字段。在对象序列
阅读全文
posted @ 2016-12-24 11:17
posted @ 2016-12-24 11:17