What is best to describe the relationship between a container and a layout manager?

What is best to describe the relationship between a container and a layout manager?


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

The correct answer is B

Explanation: Containers may share a layout manager.


Java

Learn More Multiple Choice Question :