Re: How to give selective access to the methods in a class?



toton <abirbasak@xxxxxxxxx> wrote:
setting an object null, when it is no more in use anyway helps gc?

I'll just respond to this. No, except in specific circumstances or
unless you've done something else wrong, setting a reference to null
doesn't help garbage collection.

(Incidentally, there is no such thing as setting an object to null.
Null is a value for a reference, and it doesn't have anything to do with
objects.)

--
Chris Smith - Lead Software Developer / Technical Trainer
MindIQ Corporation
.