In this laboratory session, you will learn about inheritance, one of the key characteristics of object-oriented languages. The goals of this laboratory session are to
Your instructor will tell you which of the experiments you are to perform.
Prerequisite skills:
Note: It is possible to do this lab directly after J3, although some post-laboratory problems also require J4 (Boolean Expressions and Conditionals).
Required files:
NewPoint.java
Point.java
PointFun.java
Rectangle.java
SimpleInput.java
SimpleOutput.java
TaxicabPoint.java
[Front Door] [Introduction] [Code]
Copyright (c) 1998 Samuel A. Rebelsky. All rights reserved.
Source text last modified Thu Dec 9 16:19:22 1999.
This page generated on Thu Dec 9 16:28:31 1999 by Siteweaver.
Contact our webmaster at rebelsky@math.grin.edu