I would like to create a class diagram for my java project. Even if it sounds very simple, I'm a little confused right now.
I am familiar with symbolism, but when do I need to create a connection between two classes?
For example, I have StartClass:
Model model = new Model(); View view = new View(); Controller controller = new Controller(view, model);
Clearly, StartClass is associated with Model , View and Controller . But is Controller now also linked to Model and View ?
Or another example:
ClassA classA = new ClassA(); ClassB classB = new ClassB(); classB.methodB(classA);
Does ClassB and ClassA connect to each other?
Sorry for this very simple question ...
cruxi source share