Link to home
Start Free TrialLog in
Avatar of ARACK04
ARACK04

asked on

multiple inheritance

I never stayed with C++ long enough to run into this, but can someone please briefly explain how C++ deals with multiple inheritance, when both base classes define the same attribute?  In other words if I inherit from both the Shape class, and the Thing class (go with it), what if both classes contain an attribute of called "length"?

Thanks!!!
ASKER CERTIFIED SOLUTION
Avatar of masnrock
masnrock
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial