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 / sandeep chaudhary

garbage collection is just a thread that is used for
deallocation of object.object in java are allocated in
heap area(memory ) ,particular object is not used for long
period then automatically garbage coolection calls this
object for destroyed.........

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an object be null?

910


what is the purpose of "virtual"?

1016


What is the function of log?

944


What is the escape character in java?

925


What is the use of static class?

1081


Why does java have different data types for integers and floating-point values?

946


What does method mean?

963


What is the purpose of void class?

995


Which is better stringbuffer or stringbuilder?

869


What is time complexity java?

946


What is %d in printf?

991


What is percentage in java?

954


How are variables stored in memory?

997


If a variable is declared as private, where may the variable be accessed?

999


Explain about field hiding in java?

880