Exams Net
Unrestricted Exams Practice
Home
Exams
Banking
CUET
Defence
Engineering
Finance
GATE
Insurance
International
JEE
LAW
MBA
MCA
Medical
Other
Police
PSC
RRB
SSC
State Govt
Subjectwise
Teacher
SET Exams
UPSC
Aptitude
Algebra and Higher Mathematics
Arithmetic
Commercial Mathematics
Data Based Mathematics
Geometry and Mensuration
Number System and Numeracy
Problem Solving
Board Exams
Andhra
Bihar
CBSE
Gujarat
Haryana
ICSE
Jammu and Kashmir
Karnataka
Kerala
Madhya Pradesh
Maharashtra
Odisha
Tamil Nadu
Telangana
Uttar Pradesh
English
Competitive English
CBSE
CBSE Class 10 Solutions
CBSE Class 12 Solutions
CBSE Question Papers (Pdf)
NCERT Books (Pdf)
NCERT Exemplar Books (Pdf)
NCERT Study Notes (Pdf)
CBSE Study Concepts (Pdf)
NCERT Text Book Class 11 Solutions
NCERT Text Book Class 12 Solutions
ICSE Class 10 Papers
Certifications
Technical
Cloud Tech Certifications
Security Tech Certifications
Management
IT Infrastructure
More
About
Contact Us
Our Apps
Privacy
+
-
Test Index
Garbage Collection
Show Para
Hide Para
Share question:
© examsnet.com
Question : 3 of 7
Marks:
+1
,
-0
Given:
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?
System.gc();
Runtime.gc();
System.freeMemory();
Runtime.getRuntime().growHeap();
Runtime.getRuntime().freeMemory();
Validate
Go to Question:
1
2
3
4
5
6
7
Prev Question
Next Question
More Free Exams
Oracle Certifications
Salesforce Certifications
SAP Certifications
TOGAF 9