Comment on Tutorial - Question: How can you force garbage collection of an object? By Ash



Comment Added by : Biniam E

Comment Added at : 2011-12-17 15:09:09

Comment on Tutorial : Question: How can you force garbage collection of an object? By Ash
You said the garbage collector can not be forced, option A is correct. But I read on MSDN that the GC.Collect() method forces garbage collection. The link to the statement above is here: http://msdn.microsoft.com/en-us/library/system.gc.collect(v=vs.71).aspx

View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. your code error

because i try to ru

View Tutorial          By: Nasser at 2013-01-09 10:33:34

2. my code is unable to open included files
ho

View Tutorial          By: MANAS at 2013-09-08 05:44:46

3. thank you for this quick and easy demonstration. B
View Tutorial          By: rajesh at 2012-09-20 17:48:17

4. Hi i have studied these programs.
but unabl

View Tutorial          By: Karuna at 2008-03-30 08:46:00

5. Hi,
The code runs fine on my emulator even

View Tutorial          By: Ramin at 2011-07-07 07:23:45

6. I have a question. So here I have a progress bar,
View Tutorial          By: Nick at 2011-12-06 05:10:19

7. hi, the code is fine. i want this array to be decl
View Tutorial          By: deepi at 2012-04-26 06:08:36

8. I am quite new to Struts and this article, quite c
View Tutorial          By: Jenghiz at 2010-01-27 23:19:48

9. Error...!!
please send correct java code fo

View Tutorial          By: mayuri at 2013-10-20 13:26:30

10. i want to know all things about java in a simple w
View Tutorial          By: jayanthi at 2011-12-01 08:08:56