Janani,
a. You can run GC whenever u want is FALSE i suppose.
You can only request the JVM to put an effort to run
GC. System.gc() is not looked in the sameway as
System.out.println(). The former only puts a request
and JVM may or may not take up your request.
c. Only objects whose ref are set to null are GC - FALSE
since even if a object is out of scope it can be GC'ed.
In case of
string Literals even if you set the reference
to null the object is not GC'ed.
d. The finalise method of the subclass has to make a callto the
superclass finalise method - TRUE.
Can anybody please explain clearly this point to me. I have
seen at many places this is true but i have not understood
why.
b,e I am not sure.
------------------
Regards,
V. Kishan Kumar