Garbage Collection
© examsiri.com
Question : 3 of 7
Marks:
+1,
-0
Given:
Which statement should be placed at line 4 to suggest that the virtual machine expend effort toward recycling the memory used by the object rbo?
1. rbo = new ReallyBigObject();
2. /*more code here*/
3. rbo = null;
4. /* insert code here */Which statement should be placed at line 4 to suggest that the virtual machine expend effort toward recycling the memory used by the object rbo?
Go to Question: