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 / pradeep panwar

Hi All....
yea thats true that we can't force for Garbage Collection.
We can send a request by system.gc(); at any time but its
not sure that garbage collection takes place at that time.
It depends on memory. So we cant forcr fot GC either
sending the explicit request.

can catch me on +91-9899954354

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unsigned char?

1057


What are the important features of Java 9 release?

987


What is included in core java?

1044


what r advatages of websphere? & how to deploy?

2168


What do you mean by garbage collection used in java?

1050


Is nan false?

964


What is boolean logic?

1001


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

1000


What is the difference between a local variable and an instance variable?

1083


How does java enable high performance?

1129


What is anonymous inner class?

1068


What are selection structures?

977


Explain the difference between a Thread and a Process.

981


Explain the advantages of packages in java?

896


What is the difference between preparedstatement and statement in java?

1111