Introduction to Object Oriented Programming, 3rd Ed
Chapter 13
Multiple Inheritance
Outline
- Roadmap
- Inheritance as Categorization
- Inheritance as Combination
- An Example -- Complex Numbers
- Possible Solutions
- Numbers as Combinations
- Another Example -- Walking Menus
- Problem with MI - Name Ambiguity
- One Solution: Redefinition
- Problem with Redefinition Solution
- Other Approaches to Name Ambiguity
- Multiple Inheritance of Interfaces
- Inheritance from Common Ancestors
- Data Field in Common Ancestor
- Inner Classes
- Chapter Summary
Other Material