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

What is garbage collection in Java, and how can it be used ?

Answer Posted / jaffer

Actually garbage collector is a daemon thread. Normally
JVM’s heap stores all objects which is created by new
operator. So objects are occupying memory in heap. Some
objects are not used for long time. So garbage collector do
that work automatically.
Otherwise we call finalization method

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string :: npos?

1076


Does collectionutils isempty check for null?

1412


What is a static class in java?

1003


What are passing parameters?

1079


What is class forname?

1014


Is hashmap thread safe?

978


Is list thread safe in java?

917


Explain what do you mean by functional overloading in java?

1011


What is the parse method in java?

1117


What is the significance of continue jump statement? Explain with an example.

1285


What is file in java?

1026


Can we declare a class as static?

1091


What is difference between == equals () and compareto () method?

1041


When should I use stringbuffer?

1009


Are static members inherited to sub classes?

1135