1.

Composition is a __________ type of Association relationship.(a) strong(b) weak(c) unnecessary(d) necessaryThis question was posed to me in an internship interview.The origin of the question is Class Relationships topic in chapter Class Hierarchies, Library & Containers of C++

Answer»

Right option is (a) strong

Explanation: Composition is a strong TYPE of ASSOCIATION relationship because in this CASE, OBJECTS are strongly dependent on each other. For EXAMPLE, human and heart cannot exist without each other.



Discussion

No Comment Found

Related InterviewSolutions