Consider the following association between the 2 classes.Here the association means, In the class Log I have an array of Traces. and in class Trace there is an object of Log.Here I have a problem in implementation these 2 classes now.If I want to make Log instance, I need an array of Trace and when I go to make an instance of Trace, again I need an Log object. And this loop is continuing.So am i in wrong way?
Implementing an association between 2 classes
uml