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

What is the protected method modifier?

1031


What about member inner classes?

1086


What is the default size of arraylist in java?

1101


Can we execute a program without main?

1000


In java, how many ways you can take input from the console?

980


If try block is successfully executed, Then Is Finally block executed?

1074


Describe how to implement singleton design pattern in struts.

988


What is the default value of float and double datatype in java?

998


What about instanceof operator in java?

1002


How to display names of all components in a Container?

2921


What is the set interface in java programming?

1190


Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.

909


What are aggregate functions explain with examples?

1045


Is there any difference between nested classes and inner classes?

1079


Difference between ‘>>’ and ‘>>>’ operators in java?

1111