Computer Science, asked by p8inkbpinkmohanim, 1 year ago

java weakreference usage

Answers

Answered by sairockzz
0
Weak references are used to avoid keeping memory referenced by unneeded objects. Some garbage-collected languages feature or support various levels of weak references, such as Java, C#, Python, Perl or Lisp. Garbage collection is used to reduce the potential for memory leaks and data corruption.
Similar questions