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 to send a request to garbage collector?

Answer Posted / uv

As far as I know,it is not required to call the garbage
collector.
It automatically and periodically removes the unused
objects by an algorithm known as "Mark and Sweep".

However, if we intentionally want to call it then the above
suggestions are perfect.
Anyone who feels that it is incorrect, please feel free to
correct me.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can singleton class be cloned?

1094


Is there any tag in htm to upload and download files?

1089


What does indexof mean?

1105


What is string :: npos?

1178


Can a constructor be made final?

1160


What is a singleton factory?

1027


Write a program to reverse a number in java?

1131


Give an example of call be reference significance.

1081


What is a two-pass assembler?

1100


Is a boolean 1 bit?

1121


What is thread safe singleton?

1003


What is the point of java?

1080


Difference between string, stringbuffer and stringbuilder?

1073


Can set contain duplicates?

1047


What is the implementation of destroy method in java. Is it native or java code?

1020