public MyMainClass() { sub1 = new subClass1(); sub2 = new subClass2(sub1); }
public subClass2(subClass1 sub1) { a1a = sub1.sb1A; }
public subClass2(subClass1 sub1) { this.sub1 = sub1; }