Google News
logo
CPP - Quiz(MCQ)
Which of the following provides a programmer with the facility of using object of a class inside other classes?
A)
Inheritance
B)
Encapsulation
C)
Composition
D)
Abstraction

Correct Answer :   Composition


Explanation : The concept of using objects of one class into another class is known as Composition.

Advertisement