Question: Composition means ________. that data fields should be declared private that a class extends another class that a variable of supertype refers to a subtype
Composition means ________.
| that data fields should be declared private | ||
| that a class extends another class | ||
| that a variable of supertype refers to a subtype object | ||
| that a class contains a data field that references another object |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
