Classes: Inheritance
Type (structure) and methods (behavior) are both inherited by subclasses
Exception: “init” method not inherited
Semantics: substitutability
- Example: a Student can appear wherever a Person is allowed to appear (students are people too!)
- Collection types can participate in inheritance
Multiple Inheritance:
- Two or more direct superclasses (e.g. WorkStudy)
- Must resolve naming conflicts (none in this case)