I'm new to UML and trying to get my head around Class diagrams. For example see the following diagram(assume scope is public):
Can class 1 directly access any of the methods and attributes below in other classes or can it only access its own methods and attributes? Similarly can for example class 2 access the methods and attributes in class 1?
The main reason I ask is I need to produce a report operation, which calculates the days income and the income would be calculated by having to iterate through classes and totaling then returning the value.
Many thanks
