Open minhao23 opened 3 days ago
ProgressWatcher.MAX is used when declaring array in the Acitivity class.
So Activity class can't compile without ProgressWatcher class
There was actually a similar question in the week 8 part 1 quiz. Firstly, just to clarify it's not an association because Activity is not holding any objects or references to ProgressWatcher so it can't be a straight line. Secondly, Activity still depends on the variable Progresswatcher.MAX and so cannot compile without ProgressWatcher.
Is it right to say
There was actually a similar question in the week 8 part 1 quiz. Firstly, just to clarify it's not an association because Activity is not holding any objects or references to ProgressWatcher so it can't be a straight line. Secondly, Activity still depends on the variable Progresswatcher.MAX and so cannot compile without ProgressWatcher.
is it right to say the cannot compile condition is suitable to be drawn as a dependency (provided it is not an association)
Hi, I'm wondering where the dependency between Activity and Progress Watcher has come from. This is the mock paper part 2