Hallo! :-)
I have a question:
Example code:
I read that the object of inner class has "reference" to the object of top level class.
1. What kind of "reference" is it?
2. What does happen after calling System.gc() in code above?
3. Is object of class Test removed from the heap?
Thank you.
P.S. If there are any errors in the code, takes it easy, not as mistake :-)
[ September 17, 2006: Message edited by: Simeon Cherniy ]
[ September 17, 2006: Message edited by: Simeon Cherniy ]