Inheritance in Java
In this chapter we will use inheritance to design classes based on other classes.
Objectives¶
- Understand the concept of inheritance in Java.
- Use and recognize the UML "generalization" arrow.
- Be able to specialize classes using the
extendskeyword.
Topics¶
- Inheritance
- The
extendsKeyword finalClasses *- UML and
extends - Inheriting Fields *
- Inheriting Methods *
- Lab - Creating a Class Hierarchy