Return to site

JAVA CERTIFICATION QUESTION: Eligibility for garbage collection in Java

=>You never can tell when the Java garbage collector will pick up the trash.

· java,ocp

For this quiz, you will dig into garbage collection. Given the following classes:

and a fragment of a test case scenario:

 

ꓞ sᴉ uoᴉʇdo ʇɔǝɹɹoɔ ǝɥꓕ