Given the following code, which statements express the most accurate association? Select the three correct answers. (a)

Question:

Given the following code, which statements express the most accurate association?

image text in transcribed

Select the three correct answers.

(a) A Train object has an array of Carriage objects.

(b) A Train object owns an array of Carriage objects.

(c) A Train object owns Carriage objects.

(d) A Train object has a TrainDriver object.

(e) A Train object owns a TrainDriver object.

(f) A TrainDriver object is part of a Train object.

(g) An array of Carriage objects is part of a Train object.

(h) Carriage objects are part of a Train object.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: