My question is: on the diagram, do I add an attribute to ClassB and give this the type ClassA or do I omit the attribute and put both classes on the diagram with an association between them? Or do I do both?
What is the preferred (correct?) way of showing this?
Any help or advice would be very much appreciated.