What is best to describe the relationship between Component and Font?

What is best to describe the relationship between Component and Font?


A. Association
B. Aggregation
C. Composition
D. Inheritance

The correct answer is A

Explanation: A component has a background property whose type is java.awt.Font.


Java

Learn More Multiple Choice Question :