Chapter 8: Interfaces and Polymorphism

Learning Objectives

After completing this chapter, you should be able to do the following:

  1. Understand how polymorphism is enabled by interfaces and inheritance.
  2. Understand and use interfaces to create more flexible code.

Key Terminology

As you read through this chapter, you should make note of the following terms in the each section.

Introduction

  1. polymorphism

Interfaces

  1. interfaces
  2. method signature
  3. default methods