1.

If the diamond is filled it depicts which relationship?(a) Strong Aggregation(b) Composition(c) Abstraction(d) InheritanceI have been asked this question in my homework.This intriguing question originated from Object and Design-2 topic in portion Object Tools and Design and Variables in PHP of PHP

Answer» RIGHT option is (b) Composition

For EXPLANATION: In composition, the contained OBJECT can be referenced by its container only. It should be deleted when the container is deleted.


Discussion

No Comment Found

Related InterviewSolutions