Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Cpp Programming Quiz 127 – Which of the following means “The use of an object of one class in definition of another class”?

Question: Which of the following means “The use of an object of one class in definition of another class”?
[A]. Encapsulation
[B]. Inheritance[C]. Composition
[D]. Abstraction

Answer: Option C