zhuzhengyu
Technical User
Hi every one.A question occurs in my mind and I don't know if it's reasonable.
eg:
public class A{
B b;
public A(){
b=new B();
}
}
public class B{
A a;
public B(){
}
public void method(){
a=new A();
}
}
eg:
public class A{
B b;
public A(){
b=new B();
}
}
public class B{
A a;
public B(){
}
public void method(){
a=new A();
}
}