mirror of
https://github.com/CyC2018/CS-Notes.git
synced 2025-07-13 15:34:09 +08:00
auto commit
This commit is contained in:
@ -142,11 +142,7 @@ Java 对引用的概念进行了扩充,引入四种强度不同的引用类型
|
|||||||
|
|
||||||
**(一)强引用**
|
**(一)强引用**
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
只要强引用存在,垃圾回收器永远不会回收被引用的对象。
|
只要强引用存在,垃圾回收器永远不会回收被引用的对象。
|
||||||
=======
|
|
||||||
只要强引用存在,垃圾回收器永远不会回收掉被引用的对象。
|
|
||||||
>>>>>>> b3b781928976877d4ad5dabed7d80c87da0984e1
|
|
||||||
|
|
||||||
使用 new 一个新对象的方式来创建强引用。
|
使用 new 一个新对象的方式来创建强引用。
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user