Is composition and containership are same?? | Sololearn: Learn to code for FREE!

0

Is composition and containership are same??

Inheritance

c++

5/17/2019 7:16:28 PM

Tannu Rathee

1 Answer

New Answer

+4

Containership is the ability of a class to contain objects of different classes as member data. This thread will be helpful for you : https://www-differencebetween-com.cdn.ampproject.org/v/s/www.differencebetween.com/difference-between-inheritance-and-vs-containership/amp/?amp_js_v=a2&amp_gsa=1&usqp=mq331AQA#referrer=https%3A%2F%2Fwww.google.com&amp_tf=From%20%251%24s&ampshare=https%3A%2F%2Fwww.differencebetween.com%2Fdifference-between-inheritance-and-vs-containership%2F https://www.quora.com/What-is-containership-and-how-does-it-differ-from-inheritance Thanks