An Introduction to Object-Oriented Programming
By Timothy Budd
Study Guide for Chapter 13
After reading this chapter, you should be able to:
Explain the concept of multiple inheritance in object oriented languages,
Understand both the conceptual and practical difficulties involved in
supporting the idea of multiple inheritance.
You may wish to use the print or save as command
on your web browser to produce a copy of this study guide.
That way you can fill in the answers to the questions as part of
your assimilating the information you learn as you read the material.
Explain what is meant when we say that multiple inheritance is a process
of combination, as opposed to a process of specialization.
What would the inheritance hierarchy look like for each of the four
different ways of adding complex numbers to the Smalltalk type system?
Why are alternatives 2 and 3 in the Complex number example more suitable
in dynamically typed languages than in strongly typed languages?
How does multiple inheritance change our view of the is-a relationship?
What is the difference between renaming a method and redefining a method?
What problem is introduced by inheritance along two or more paths from
a common ancestor?
Timothy A. Budd, 1995.