Next: Inheritance 9: Final
Up: Java Notes
Previous: Inheritance 8: Abstract Method
- Final methods: cannot be redeclared (no overriding): protection against implementation change
- Overloading is OK
- Final class: cannot be sub-classed; security (against hacking!)
- Example:
Ananda Amatya
9/15/1999