5. Interfaces

This chapter introduces the reader to Java interfaces and polymorphism.

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 packages and working with the Javadoc tool.

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.

  • LO3.c: Generate user-facing API documentation for a software solution.

  • LO4.b: Utilize interface-based polymorphism in a software solution.

Chapter Contents