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
Get step-by-step solutions from verified subject matter experts
