Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 238 Page Views: 

When is an object subject to garbage collection?



Posted By: Avi Date: 3 November 2010 07:09:55 PM
 Answer:

An object is subject to garbage collection when it becomes unreachable to the program in which it is used.


Posted By: avibtech


Date: 3 November 2010 07:09:55 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image o8S8PZ
Related Questions
Core Java : What is the security mechnaism used in java?

What is the security mechnaism used in java?

Java uses sand box security model.  
Category: Core Java Date: 11/5/2010 4:58:51 AM
Core Java : Why ArrayList is faster than Vector?    

Why ArrayList is faster than Vector?    

Because Vector is synchronized and synchronization reduces the performance.
Category: Core Java Date: 11/5/2010 4:58:51 AM
Core Java : What is multi-threading?

What is multi-threading?

Multi-threading is more than one thread are running.
Category: Core Java Date: 11/5/2010 3:53:50 AM
Core Java : What is the difference between the JDK 1.02 event model and the event-delegation  model introduced with JDK 1.1?

What is the difference between the JDK 1.02 event model and the event-delegation model introduced w....

The JDK 1.02 event model uses an event inheritance or bubbling approach. In this model, components a....
Category: Core Java Date: 11/5/2010 3:09:54 AM
Core Java : Why do we use finalization?

Why do we use finalization?

We use finalization to give an unreachable object the opportunity to perform any cleanup processing ....
Category: Core Java Date: 11/5/2010 2:48:48 AM