posted 15 years ago
For me, regarding to strength of relationship, Dependency > Association (to be more specific > Composition).
"Depend" is more serious than "Associate", if you ask me.
Anyway, we should not compare Dependency and Association directly.
You can compare Dependency with Abstraction, Realization, InterfaceRealization, and Usage.
If class A implements interface B, if a method declared in B changes, it'll impact class A, this is an example of InterfaceRealization Dependency.
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional