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

Write a program to reverse array in place?

1072


Explain about narrowing conversion in java?

1014


Differentiate between array list and vector in java.

1121


Give me some null interfaces in java?

1060


Is it possible for yielded thread to get chance for its execution again ?

1031


What is argument in java?

1023


why Interface used?

991


How do I get a substring?

982


How do you identify independent and dependent variables?

1008


What is the purpose of the return statement?

1062


In the below example, what will be the output?

1032


can I implement my own start() method? : Java thread

994


Write a function to find out longest palindrome in a given string?

1054


Can I declare a class as private?

1089


Does java have extension methods?

987