Google News
logo
CPP - Quiz(MCQ)
Why do we need relationships between classes in C++?
A)
To increase code re-usability
B)
To use the functionality of one class into other
C)
To enhance the communication between classes
D)
All of the mentioned

Correct Answer :   All of the mentioned


Explanation : Relationships are needed to increase the use of features of one class into the other classes i.e. increasing the re-usability of codes and increasing communication between classes.

Advertisement