Why was C designed to support multiple inheritance In hindsi

Why was C++ designed to support multiple inheritance? In hindsight, do you think this was a good design decision?

Solution

c++ support multiple inheritance because
1)it is used for policy based design ( during compile time it uses a strategy pattern by using
multiple inheritance)
2)it is also used for mixins which includes those who bring own data members
3)multiple inheritance is the one thing in c++ which can be used for good and also be misused

according c++ policies it let the user free of using anything without any restricions .and my answer hypotical because they are the one who are created and given to us and we are one who should use it in good way or in a bad way.

Why was C++ designed to support multiple inheritance? In hindsight, do you think this was a good design decision?Solutionc++ support multiple inheritance becaus

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site