除前文所介绍的技巧之外,下列的内容也往往由于不知道而没有加以利用。
1. transient关键词
2. volatile关键词
3. static块
4. inline关键词
5. Serializable接口
6. synchronized关键词
下述的方法
7.toString()方法
8.clone()方法
9.equals()方法
10.getClass()方法
*这一章简略写了。
除前文所介绍的技巧之外,下列的内容也往往由于不知道而没有加以利用。
1. transient关键词
2. volatile关键词
3. static块
4. inline关键词
5. Serializable接口
6. synchronized关键词
下述的方法
7.toString()方法
8.clone()方法
9.equals()方法
10.getClass()方法
*这一章简略写了。
转载于:https://www.cnblogs.com/stephen-wang/archive/2012/11/12/2743214.html