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

garbate collector(GC)?

Answer Posted / prabir kumar

1) it is a automatic memory management utility run by JVM.
2) the JVM cleaning the objects from the memory which are
no longer being referenced.
3) the object that is not instantiate or containl null is
also applicable for garbage collection.
3) explicitly running garbage collector is very expensive.
4) to run the garbage collect call the static method of
System class e.g. System.gc();

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you bind variables?

1113


What is meant by object?

1010


Why is core java important?

1047


What is thread safe in java?

1000


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

1099


What are data structures in java?

983


Is null function in java?

1054


Explain java heap space and garbage collection?

1084


What is a blocking method in Java?

1250


Does a class inherit the constructors of its superclass in java programming?

1127


What is final method in java?

1037


What is difference between float and double?

968


What is the concatenation operator in java?

1163


Can we inherit a class with private constructor?

1130


Can a constructor be made final?

1119