Multiple choice object relationship

What is an aggregate object?

  1. A. An object with only primitive attributes

  2. C. An instance which has other objects

  3. D. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

An aggregate object is an object that contains other objects as its parts or attributes, representing a 'has-a' relationship. This is a core concept in object-oriented design and composition.