java weakreference softreference
Answers
Answered by
0
SoftReference is designed for caches. When it is found that a WeakReferencereferences an otherwise unreachable object, then it will get cleared immediately. ... The four types of object reachability in Java - Weak, Soft, Strong, and Phantom matter to us as developers with regard to Garbage Collection
Similar questions
Math,
8 months ago
Physics,
8 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Biology,
1 year ago
Math,
1 year ago