Which code correctly implements the association between A and B?

Refer to the Exhibit.

Which code correctly implements the association between A and B?

Refer to the Exhibit.

Which code correctly implements the association between A and B?

A.
class A {
private B[] b;
}
class B {
private A a;
}

B.
class A {
private B[] b;
}
class B { }

C.
class A { }
class B {
private A[] a;
}

D.
class A { }
class B {
private A a;
}

E.
class A {
private B b;
}
class B {
private A[] a;
}

F.
class A {
private B b;
}
class B { }



Leave a Reply 0

Your email address will not be published. Required fields are marked *