title: If a class depends on a class from another package, does it depend on all other classes in that package?
body: <p>I am currently learning the principles of software design, specifically <a href="http://www.objectmentor.com/resources/articles/Principles_and_Patterns.pdf" rel="nofollow">Acyclic Dependencies Principle</a> (page 18)</p>
  
  <p>From the example that was given I interpreted it as: when one class in package A depends on a class in package B, then package A depends on all classes in package B as well as their dependencies (transitively)</p>
  
  <p>I know that package A will be dependent on package B. But all of package B's classes that weren't actually depended on - I am not so sure about that. The only way that I think it could cascade as in the example is when the class that was depended on in package B actually has a dependency on some classes in package B which then have dependencies on other packages.</p>