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
English,
8 months ago
Hindi,
8 months ago
Math,
8 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Hindi,
1 year ago