5 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 262
Correct 12
Incorrect 127
Viewed 123

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 2 days ago

Shamsa hafeez from Lahore, Pakistan is saying All objects that are eligible for garbage collection will be garbage collected by the garbage collector. is correct answer

Tsega Asresa Mengistu
Tsega Asresa Mengistu - 1 week ago

Tsega Asresa Mengistu from Dessie, Ethiopia is saying Objects from a class with the finalize() method overridden will never be garbage collected. is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying Objects instantiated within anonymous inner classes are placed in the garbage collectible heap. is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

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

Awa Kone
Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying All objects that are eligible for garbage collection will be garbage collected by the garbage collector. is correct answer

Related Questions

marker interface

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

Java is also known as ...... stage language

  • [A] One
  • [B] Two
  • [C] Three
  • [D] Four

The extension name of a Java source code file is ?

  • [A] .java
  • [B] .obj
  • [C] .class
  • [D] .exe

javac is used for?

  • [A] compilation
  • [B] execution

What is the numerical range of char?

  • [A] 0 to 65535
  • [B] 0 to 32767
  • [C] -256 to 255
  • [D] none