I have got two classes:
class A { ArrayList list = new ArrayList(); } class B { int a; public B(int a) {