File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Booney mock exam q#65 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Booney mock exam q#65" Watch "Booney mock exam q#65" New topic

Booney mock exam q#65

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944

Which Statements abt Garbage Collection are true?
a.You can directly free the memory allocated by an object.
b.You can directly run the garbage collector whenever you want to.
c.The garbage collector informs your object when it is about to be garbage collected.
d.The garbage collector reclaims an object´┐Żs memory as soon as it becomes a candidate for garbage collection.
e.The garbage collector runs in low-memory situations.
Can someone tell me..
The answers given are b,c,e
Vivek Shrivastava
Ranch Hand

Joined: Jun 03, 2000
Posts: 277
Try following links. Hope they will help u.
I agree. Here's the link:
subject: Booney mock exam q#65
It's not a secret anymore!