Say we have:
class A {
A(B theB){
}
}
and
class B {
B() {
A theA = new A(this);
}
}
How should the relationship between A and B be represented using UML?
This is nothing else but a cross-over dependency.
If you were to hold a property of one class in the other you would show that as association. But in this case it's just a dependency.