java weakreference usage
Answers
Answered by
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
Social Sciences,
7 months ago
Math,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Hindi,
1 year ago