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



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. HI EVERY ONE I AM NEW IN J2ME SO I WANT TO LEARN S
View Tutorial          By: KALAI at 2011-04-04 03:10:32

2. javax.comm.NoSuchPortException
at javax.com

View Tutorial          By: Augustin at 2013-04-27 11:12:47

3. we are java research students.
we are worki

View Tutorial          By: chetan at 2007-10-17 08:13:14

4. semicolon(*;) is missed in first line..con .close(
View Tutorial          By: Reddymalla Babu Sircilla at 2013-02-22 09:01:29

5. Hi,
I am getting this exception..My modem i

View Tutorial          By: divya at 2008-04-27 04:12:19

6. This example really works and help a lot me to dis
View Tutorial          By: Monu Kumar at 2010-03-30 09:26:23

7. Nice example. Thank you very much.
View Tutorial          By: vinod at 2012-06-19 11:19:53

8. hi.I am new in j2me and really want to learn more
View Tutorial          By: snehal at 2011-12-01 11:46:22

9. this helps a lot
View Tutorial          By: Ashar at 2010-04-28 04:47:36

10. its useful code.
but i want to write in a f

View Tutorial          By: SARWAR at 2011-08-02 06:26:37