Vidyalelo
PHP · Q107

Object Oriented Concept

Programming · PHP · question 107

Q107

Which relationship is illustrated by a line that begins with an unfilled diamond?

A.
Composition
B.
Abstraction
C.
Aggregation
Answer
D.
Inheritance

Answer: Option C

Solution

Answer: Option C
Solution:
In the case of aggregation, the contained objects are a core part of the container, but they can also be contained by other objects at the same time.