A class may have following relationships with other classes

A class may have following relationships with other classes
A. Inheritance
B. Aggregation

C. Composition
D. All of these

ANSWER: D) All of these
Explanation : There are three types of relationships in classes 1. Inheritance 2. Composition 3. Aggregation

Leave a Comment