java.lang.ref package is used to enable interaction with garbage collector - Core Java

Q.  Which of the package is used to enable interaction with garbage collector?
- Published on 10 Jul 15

a. java.lang.ref
b. java.lang.reflect
c. java.lang
d. java.awt

ANSWER: java.lang.ref

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)