Experiments in Java

Session O3: Interfaces and Polymorphism

In a previous laboratory, you examined Java's mechanisms for inheritance in which a subclass automatically inherits all the methods provide by its superclass. In this laboratory you will investigate a related mechanism, Java's interfaces. You will also learn about polymorphism, one of the key attributes of object-oriented programming. The goals of this laboratory are to

Your instructor will tell you which of the experiments to perform.

Prerequisite skills:

Required files:

Copyright (c) 1998 Samuel A. Rebelsky. All rights reserved.

Source text last modified Tue Oct 26 11:05:52 1999.

This page generated on Tue Oct 26 15:36:15 1999 by Siteweaver.

Contact our webmaster at rebelsky@math.grin.edu