shanmukhan battinapati wrote:
If i add anonymous objects to a list, will it cause any memory leakage problems(not collected by gc).
The garbage collection will collect any object that is no longer reachable. So the only way to "leak", is for you to accidentally forget that the object is in the list, and not remove it (assuming that the list remains reachable, of course).
Henry