Dependency is where one object must know about another.
In a simple dependency relationship all we know is that one object has knowledge of another. For example, in C++, if one class requires the inclusions of the header for another, that establishes a dependency.
This post has been archived. It cannot be replied.