Consider an array of Objects. What happens to the elements of the array if its reference is made null. Will making the array elements null individually before making the array null make any difference from memory management point of view ?
"If everything is in your way, sure you are on the wrong lane"
Author and all-around good cowpoke
posted 13 years ago
What happens to the elements depends on whether or not other references to them exist elsewhere in the program. There is nothing magic about a reference in an array versus any other reference. Making the references null won't do a thing but chew up CPU time. Bill