0

http://tutorials.jenkov.com/ood/understanding-dependencies.html#whatis says that

Whenever a class A uses another class or interface B, then A depends on B. A cannot carry out it's work without B, and A cannot be reused without also reusing B. In such a situation the class A is called the "dependent" and the class or interface B is called the "dependency". A dependent depends on its dependencies.

According to Google, the definition of "dependency":

a dependent or subordinate thing, especially a country or province controlled by another.

Since A depends on B, the dependency is A and the dependent is B. This is contrary to the first quote. Or am I missing something?

Kevin
  • 7,900
Tim
  • 9,993

1 Answers1

-1

I think Jenkov says: dependant (A) depends on dependency (B). The dependent thing is B, but A is the dependant.

Hope this helps.

Peter
  • 1