Answer the question
In order to leave comments, you need to log in
How to understand class dependency diagram?
Please help to describe in words what is observed in the class interaction diagram, with a code example.
I see only two types of relationships - inheritance, implementation.
Implementation, this means an object of a particular class is created and used in another class through injection? Or through direct composition?
Can you describe this scheme with a code example?
For example, which class do we initialize first? As I correctly understand from the diagram, there are two classes to choose from for initializing the Envirement, the ready instance of which is passed to the Command class, and how does it, in turn, decide which output method to call?
thanks for the help
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question