A package contains multiple classes and therefore multiple interfaces (methods and arguments). So, if you add/extract a parameter in a function of Class X/Package C, you only have to change the classes that are calling this function, for example, Class Y/Package B.
Since NO Class from Package A is calling Class X/Package C, then you do not need to change anything in A because of the change in C. Then, the dependency is only between B and C. Changing the call doesn't mean that you are changing the inteface definition in Package B.
Answer: Dependencies are not transitive.
ONLY if you change interface signatures in Package B will affect Package A. Same logic with Package C and Package B.
I hope it helps,
Geoffrey
Originally posted by David Follow:
Hi all,
come on people, please give me some ideas on this one!!!
D.
[ April 18, 2005: Message edited by: Geoffrey Chu ]
[ April 18, 2005: Message edited by: Geoffrey Chu ]