Multiple Choice
When an object of one class is a data field within another class, they are related by ____.
A) extension
B) scope
C) composition
D) is-a
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q29: Using Java statements, show how you can
Q30: The java.lang package is implicitly imported into
Q31: If a class's only constructor requires an
Q32: Because the square root of a negative
Q33: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TBX9006/.jpg" alt=" In the above
Q35: It is a convenience to be able
Q36: The compiler determines which version of a
Q37: When you multiply an int and a
Q38: Match each term with the correct statement
Q39: int aMethod(int x) <br>void aMethod(int x) <br>In