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...

how exactly garbage collection take place?

Answer Posted / vinay

Another way to call garbage collector :-
Runtime rt = Runtime.getRuntime();
rt.gc();

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a nested structure?

1045


In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

1057


Is class forname reflection?

990


List types of storage classes in java?

1154


What is the memory leak in java?

1041


What is the purpose of using the java bean?

1054


Is null in java?

1020


Can we override a variable in java?

1019


Explain importance of inheritance in java?

1029


Explain what is encapsulation?

1086


What is package private scope in java?

951


How can you make a class serializable in java?

991


How do you add an element to a hashset in java?

1009


How to print nodes of a Binary tree?

2252


What is difference overloading and overriding?

1172