Tuesday, June 1, 2010

What is Garbage Collection and how to call it explicitly?

I have updated in http://www.freejavaclass.com/

When an object is no longer referred to by any variable, java automatically reclaims memory used by that object. This is known as garbage collection. System. gc() method may be used to call it explicitly.Avatar (Two-Disc Blu-ray/DVD Combo) [Blu-ray]

No comments:

Post a Comment

How can instantiate Java interface without implementing.

public interface Foo { String method(); } public class Claaa {    public static void main(String[] args) {     Foo fooByIC...