Is it possible for a class A to be a field of another class B and at the same time, for class B to be a field of Class A?
I have a scenario where I have two classes: Mat
Yes it is possible, but I doubt it can be achieved during object construction time, which causes cyclic dependency.
First create classA and classB objects and assign the mutual reference by using setter of each objects.
classA
classB
setter