An Introduction to Object-Oriented Programming

By Timothy Budd

Study Guide for Chapter 13


Learning Objectives

After reading this chapter, you should be able to:

Study Questions

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.
  1. Explain what is meant when we say that multiple inheritance is a process of combination, as opposed to a process of specialization.

  2. What would the inheritance hierarchy look like for each of the four different ways of adding complex numbers to the Smalltalk type system?

  3. Why are alternatives 2 and 3 in the Complex number example more suitable in dynamically typed languages than in strongly typed languages?

  4. How does multiple inheritance change our view of the is-a relationship?

  5. What is the difference between renaming a method and redefining a method?

  6. What problem is introduced by inheritance along two or more paths from a common ancestor?


Contents copyright Timothy A. Budd, 1995.