Computer Science, asked by g4unuafsakakuresh, 1 year ago

java weakreference softreference

Answers

Answered by sairockzz
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