0

How to make composition between two class in C+?

I'm trying to make composition butt i have a bit confusion about composition. Please help me

4/17/2019 7:44:58 PM

Ahmed Butt

2 Answers

New Answer

0

Hi Ahmed do you mean this? C++ Inheritance. ... Inheritance is one of the key features of Object-oriented programming in C++. It allows user to create a new class (derived class) from an existing class(base class). The derived class inherits all the features from the base class and can have additional features of its own.

0

Thanks Robin