Inheriting Methods
- Override method:
- Supply a different implementation of a method that exists in the superclass
- Must have same signature (same name and same parameter types)
- If method is applied to an object of the subclass type, the overriding method is executed
- Inherit method:
- Don't supply a new implementation of a method that exists in superclass
- Superclass method can be applied to the subclass objects
- Add method:
- Supply a new method that doesn't exist in the superclass
- New method can be applied only to subclass objects