6 years ago in Introduction To Java


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.
Loading...
Next Question

Overall Stats

Attempted 270
Correct 12
Incorrect 134
Viewed 124

Answers

Guest
Guest
chaimaa elgotbi
chaimaa elgotbi - 3 days ago

chaimaa elgotbi from Casablanca, Morocco is saying Objects with at least one reference will never be garbage collected. is correct answer

saliha rchid
saliha rchid - 3 days ago

saliha rchid from Casablanca, Morocco is saying Objects from a class with the finalize() method overridden will never be garbage collected. is correct answer

Mina Aitlhaj
Mina Aitlhaj - 1 week ago

Mina Aitlhaj from Casablanca, Morocco is saying All objects that are eligible for garbage collection will be garbage collected by the garbage collector. is correct answer

Bharath
Bharath - 2 months ago

Bharath from Hyderabad, India is saying All objects that are eligible for garbage collection will be garbage collected by the garbage collector. is correct answer

Renuka Siriwardhana
Renuka Siriwardhana - 4 months ago

Renuka Siriwardhana from Colombo, Sri Lanka is saying All objects that are eligible for garbage collection will be garbage collected by the garbage collector. is correct answer

Related Questions

process of writing the state of object into byte stream

  • [A] Deserialisation
  • [B] Externlisation
  • [C] serialisation
  • [D] print

marker interface

  • [A] having body
  • [B] having no body
  • [C] both
  • [D] none