A reference to the containing object (cont'd)

The modified constructor saves that reference in the private instance variable of the object of the member class. Thus each object instantiated from the member class contains a private reference to the containing object.

File: ba.htm [Next] [Prev]