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 { }
class B {
private A[] a;
}

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

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

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

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

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



Leave a Reply 0

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