Composition means ___________________________.

a. that a class contains a data field.

b. that references another object.

c. that a variable of supertype refers to a subtype object.

d. that data fields should be declared private.

e. that data fields should be declared protected.

f. that a class extends another class.

Q&A Education