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. Awesome code workings fro me thank you so much :)
View Tutorial          By: Shripad at 2012-01-24 08:58:03

2. I want de total main prg to send and receive... se
View Tutorial          By: sharu at 2011-09-12 16:49:24

3. Thank you! Solved many headaches :)
View Tutorial          By: Dominik at 2013-07-30 16:51:46

4. The example given here are simple and easy to run
View Tutorial          By: Kranti at 2012-04-26 10:18:34

5. ----- main---
Inside Run ...
OK 0 <

View Tutorial          By: pushpam at 2009-01-23 06:14:07

6. very nice i now understand what the allocated part
View Tutorial          By: Digistr - digistrscape (youtube.com/digistrscape) at 2010-01-30 01:17:19

7. please give example code with defined variable.
View Tutorial          By: shajjad at 2011-02-13 20:56:09

8. Hi,

Can anyone suggest a GSM Modem

View Tutorial          By: Archna at 2009-11-06 03:23:14

9. When stateless bean not maintains any state and no
View Tutorial          By: Mallikarjun at 2015-09-18 15:42:46

10. Hai,
dis is anu, dng final year. i need to

View Tutorial          By: anu at 2012-07-12 15:41:19