Skip to Content
Visual Modeling with Rational Rose 2002 and UML
book

Visual Modeling with Rational Rose 2002 and UML

by Terry Quatrani
October 2002
Intermediate to advanced content levelIntermediate to advanced
288 pages
5h 4m
English
Addison-Wesley Professional
Content preview from Visual Modeling with Rational Rose 2002 and UML

Single Inheritance Versus Multiple Inheritance

With single inheritance, a class has one set of parents—that is, there is one chain of superclasses (e.g., a car is a motor vehicle, which is a vehicle). Multiple inheritance involves more than one chain of superclasses (e.g., an amphibious vehicle is a motor vehicle, which is a vehicle, and an amphibious vehicle is a water vehicle, which is a vehicle). There can be numerous problems associated with multiple inheritance—for example, name clashes and multiple copies of inherited features. How the problems are overcome is very language dependent from the use of special features of C++ (e.g., virtual base classes) to lack of support for multiple inheritance altogether (PowerBuilder). Multiple inheritance ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

UML for Mere Mortals®

UML for Mere Mortals®

Robert A. Maksimchuk, Eric J. Naiburg
Software Architecture and Design Illuminated

Software Architecture and Design Illuminated

Kai Qian, Xiang Fu, Lixin Tao, Chong-wei Xu
Professional Application Lifecycle Management with Visual Studio® 2010

Professional Application Lifecycle Management with Visual Studio® 2010

Mickey Gousset, Brian Keller, Ajoy Krishnamoorthy, Martin Woodward

Publisher Resources

ISBN: 0201729326Purchase book