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

Where are global variables stored?

1012


What is variable and constant explain with example?

1167


What is the difference between object oriented programming language and object based programming language?

1063


Can we have multiple classes in single file ?

1113


What do you mean by exception handling in Java?

1366


What is final variable?

994


What are the main differences between notify and notifyAll in Java?

1146


What are different types of references?

1025


How do you check if an arraylist is not empty?

1187


What is java reflection?

1028


What is the current version of java?

1091


What are the main uses of java?

1033


What are synchronized methods ?

1156


What are the various access specifiers for java classes?

1117


What is the requirement of thread in java?

1104