previous |
start |
next
Inheritance Hierarchies
- Hierarchies of classes, subclasses, and sub-subclasses are
common
- Example: Swing hierarchy
- Superclass JComponent has methods getWidth,
getHeight
- AbstractButton class has methods to set/get button
text and icon
- We will study a simple bank account hierarchy
previous |
start |
next