Association versus Dependency

From CSSEMediaWiki
Revision as of 03:11, 25 November 2010 by WikiSysop (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Dependency is defined as "Dependency exists between two elements if a Change in one may cause change to other." Quote from Fowler (Pg47) With classes, dependencies exists for various reasons: One Class sends a message to another;one class has another as part of its data;one class mentions another as parameter to an operation.

Association by definition does not suggest a dependency.


Association.png


Personal tools