Establishing the relation
during creation (cont.)
n
Assuming that
mrsBennet
is a
Person
object, we could create one daughter as
follows:
n
Person elizabeth =
new
Person (…, mrsBennet, …);