7. Inheritance

This chapter introduces the reader to Java inheritance and polymorphism via inheritance.

Important

Prerequisite Information

This tutorial assumes that the reader has a knowledge of basic Unix commands and experience working with a command-line text editor (e.g. emacs, vi, etc.). The reader should be familiar with compiling and running Java code contained in named packages, working with the Javadoc tool, and understanding UML Class Diagrams.

To get the most out of this chapter, you should follow along and take notes.

Course-Specific Learning Outcomes

  • LO2.e: (Partial) Utilize existing generic methods, interfaces, and classes in a software solution.

  • L04.c: (Partial) Design, create and use inheritance relationships in a software solution.

Chapter Contents