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...

How GC (Garbage Collector) knows the objects reference is
unused.Whether GC removes the unused object Parmanently or
it maintains something.

Answer Posted / devarathnam.c, kotagudibanda,k

Hi,
The Garbage Collector(GC)will be always under the control
of JVM, So JVM periodically runs the GC. It uses "sweep"
and "mark" algorithms to identify the unused objects in the
application. You don't bother about GC, JVM will take of it.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you give names of Container classes?

2303


What are different access specifiers in java? Explain

1121


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

979


What are the steps involved to create a bean?

1152


Can a class with private constructor be extended?

942


What are Normalization Rules? Define Normalization?

1052


Why singleton class is used in java?

1126


What is the base class for error and exception?

999


What is a locale?

1145


Explain about method local inner classes or local inner classes in java?

1025


What does singleton mean in java?

995


Do I need java on my computer?

980


What are different types of expressions?

1113


In a class implementing an interface, can we change the value of any variable defined in the interface?

1083


What is anagram word?

993