1.

Which type of relationship is modelled by Composition?(a) Is-A relationship(b) Has-A relationship(c) Part-Of relationship(d) Have-A relationship

Answer» Right option is (c) Part-Of relationship

The explanation: Composition models the part-of relationship between classes. In this children cannot exits without a parent, therefore, they are part of each other.


Discussion

No Comment Found

Related InterviewSolutions