Association versus Dependency

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(Removing all content from page)
Line 1: Line 1:
 +
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.

Revision as of 10:32, 10 September 2009

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.

Personal tools