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 / ravi

when there are no refrences to an object,means that it is
not in use anymore.so the JVM marks it for garbage
collection ,which is basically a process of taking back the
resources from the object which was given to it earlier.

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain importance of throws keyword in java?

972


What do you understand by synchronization?

1044


Can constructor be static or final?

1084


What is literal example?

940


Is java ee a framework?

978


What do you mean by stack?

1148


What are abstract classes and anonymous classes?

1071


Can a static class implement an interface?

1112


If two threads have same priority which thread will be executed first ?

1471


What does s mean in regex?

1010


Why to use nested classes in java?

1116


What is double parsedouble in java?

1040


Can we call virtual funciton in a constructor ?

2197


Explain restrictions for using anonymous inner classes?

1087


Why object class is super class for every class in java?

1022