1. 

Which statement is true?

A. Programs will not run out of memory.
B. Objects that will never again be used are eligible for garbage collection.
C. Objects that are referred to by other objects will never be garbage collected.
D. Objects that can be reached from a live thread will never be garbage collected.

2. 

Which statement is true?

A. All objects that are eligible for garbage collection will be garbage collected by the garbage collector.
B. Objects with at least 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 anonymous inner classes are placed in the garbage collectible heap.