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

Garbage collection is the Process of automatically freeing
objects that are no longer referenced by the Program.
But a Potential disadvantages of a garbage-collected heap is
that it adds an overhead that can affect program performance....

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about serializable interface in java?

995


What is the difference between access specifiers and access modifiers in java? 16

991


What value is a variable of the string type automatically initialized?

1112


What is the purpose of assert keyword used in jdk1.4.x?

1057


What is a null class?

975


What does this () mean in java?

977


What about instanceof operator in java?

1014


What is the meaning of 3 dots in java?

1158


What are void methods?

1014


How does a for loop work?

982


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

976


What is the declaration statement?

944


Can a class extends itself in java?

1018


What is java’s garbage collected heap?

957


What are static blocks in java ?

1096