A
AMP
Hello,
I have a Class A that creates a clB object of type Class B and a clC
object of Class C.
I have a field in clC, 'Class B localB', that I want to hold a
reference to any object of Class B.
Besides passing a parameter to the Class C constructor, how do I pass
a reference of my clB object to the localB field.
Are there multiple ways, if so could you tell me.
Thanks
I have a Class A that creates a clB object of type Class B and a clC
object of Class C.
I have a field in clC, 'Class B localB', that I want to hold a
reference to any object of Class B.
Besides passing a parameter to the Class C constructor, how do I pass
a reference of my clB object to the localB field.
Are there multiple ways, if so could you tell me.
Thanks