A

Admin • 828.03K Points
Coach

Q. When is the finalize() method called?

  • (A) Before an object goes out of scope
  • (B) Before garbage collection
  • (C) Before a variable goes out of scope
  • (D) None finalize() method
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
finalize() method is called before garbage collection.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.