Introduction to Object Oriented Programming, 3rd Ed

Timothy A. Budd

Chapter 13

Multiple Inheritance

Outline

  1. Roadmap
  2. Inheritance as Categorization
  3. Inheritance as Combination
  4. An Example -- Complex Numbers
    1. Possible Solutions
    2. Numbers as Combinations
  5. Another Example -- Walking Menus
  6. Problem with MI - Name Ambiguity
    1. One Solution: Redefinition
    2. Problem with Redefinition Solution
    3. Other Approaches to Name Ambiguity
  7. Multiple Inheritance of Interfaces
  8. Inheritance from Common Ancestors
    1. Data Field in Common Ancestor
  9. Inner Classes
  10. Chapter Summary

Other Material

Intro OOP, Chapter 13, Outline