Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can an object be garbage collected while it is still
reachable?

Answer Posted / sudheer

Garbage collector is a low priority thread. We cant order to delete an object. When the object has no references and object which are out of scope will be deleted by the garbage collector to free the memory. So when an object is reachable it cant be garbage collected.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why java uses the concept of the string literal?

1063


What are keywords and reserved words in java?

1063


What is vector capacity in java?

1084


What is the technique adopted to create an immutable class?

1114


What are unchecked exceptions in java?

1039


What is multi level inheritance in java?

1033


What are different ways of object creation in java ?

1078


What are user defined exceptions?

1049


Explain the Propertie sof class?

1050


What are the differences between graph and tree?

1122


What does super keyword do?

1073


What is the size of boolean variable?

1078


What are locale settings?

990


What does function identity () do?

964


What is the maximum size of arraylist in java?

1010