1.

How many types of class relationships are there?(a) 1(b) 2(c) 3(d) 4I got this question during an online exam.The above asked question is from Class Relationships topic in portion Class Hierarchies, Library & Containers of C++

Answer»

The correct choice is (d) 4

The explanation: There are basically four TYPES of CLASS RELATIONSHIPS namely Inheritance, Aggregation, Composition and ASSOCIATION relationships between classes.



Discussion

No Comment Found

Related InterviewSolutions