GeekInterview.com
Series: Subject: Topic:
Question: 591 of 1115

Under what conditions is an object's finalize() method invoked by the garbagecollector

The garbage collector invokes an object's finalize() method when it detects that the objecthas becomeunreachable.
Asked by: Interview Candidate | Asked on: Aug 26th, 2004
Showing Answers 1 - 1 of 1 Answers
Sandhya.Kishan

Answered On : Jun 11th, 2012

View all answers by Sandhya.Kishan

When an object has no references then it reaches its unreachable condition and under this condition the finalize() method is invoked by the garbage collector.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.