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 / sachin deshmukh

In java doesn't allow memory leakage,Garbage collector
automatically deallocates memory.It deallocates memory of
objects that no longer has any references i.e. references
count is zero.

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string is a keyword in java?

1034


Why stringbuffer is faster than string?

1094


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

1220


How are the elements of a gridbaglayout organized?

1122


How do you do math powers in java?

1123


Is there any case when finally will not be executed?

1002


Why is java called java?

1102


What is constructor and virtual function? Can we call a virtual function in a constructor?

1190


What is final method in java?

1086


Can a static class have a constructor?

1061


What is purpose of keyword void?

1091


How do listeners work?

1105


How much ram can a 64 bit processor theoretically?

966


How do weakhashmap works?

1204


Can we assign null to double in java?

1080