First, we will take dependency for our argument.
We ask a question -
how A is dependent on B - just by calling a method on B from A.
I don't think.
Class A is not using any attribute of Class B and Class B's method is not returning any value.
From this arguement, we can conclude A is not dependent on B.
So A and B are are just associated.
Thanks,
G Kuppuram