Hi All
Abt the example reg: Strings for GC I think 0 objects will be GCed since string objects created as follows
String s = "ABC";
s=null;
are never GCed and the string goes in to String pool
but
String s = new String("ABC");
s-null;
now we have one object eligible to be GCed
Please correct me if I am wrong.
Jignesh