Question: Which one statement is true a. All objects that are eligible for garbage collection will be removed from the heap by the garbage collector. b.

Which one statement is true

a. All objects that are eligible for garbage collection will be removed from the heap by the garbage collector.

b. Objects with more than one reference will never be garbage collected.

c. Objects from a class with the finalize() method overridden will never be garbage collected.

d. Objects instantiated within method local inner classes are placed in the garbage collectible heap.

e. Once an overridden finalize() method is invoded, there is no way to make that object ineligible for garbage collection.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!