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

Why we can not force Garbage Collection?

Answer Posted / neeraj

Hi Ramesh
Sir Garbage collector is a thread and nothing can
pridict about the excecution time of a thread at runtime.
System.gc(); is a method to start that non user thread
explicitly.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a line break example?

937


What are the types of collections in java?

1001


Explain the selection sort algorithm and state its time complexity?

963


What methodology can be employed to locate substrings inside a string?

904


What is final method?

1014


What’s a deadlock?

1048


What is map in java?

944


Why method overriding is used?

1020


Is ++ operator thread-safe in java?

1100


How many digits is int32?

929


What is the instance of an object?

1111


Explain the init method?

920


Are private methods final?

842


What is navigable map in java?

939


Explain treeset?

1049