I have 2 classes, they are more complex but that is not important.. How should I draw this dependency in UML class diagram ? I'm not sure how it should look like
public class A {
private void foo(B b){
....
}
...
}
public class B {
private void foo(A a){
....
}
....
}
could I draw something like this ? or how should it look like ?