Prev
1
2
3
4
5
6
7
8
9
Next
- The Fragile Base-Class Problem
- Inheritance is a tightly-coupled relationship
- Uses up your single inheritance
- Seemingly isolated changes to the base class can have unintended affects in subclasses
- Example: Extending ArrayList to implement a Stack