Hi everyone:

Here is a question on Java member classes. 

Let's assume that there is a top level class A with a member class B. The
visibility of B is default (package). (Note that there is no real private
and protected visibility for member classes).

My question is, when instance of A and instance of B (called aA and bB
respectively) are created, what may happen to bB when aA is garbage
collected?

Thanks


Jeff

To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to