Basic HTML version of Foils prepared 13 July 98

Foil 16 A Geometry Package

From Java Academy II:Advanced Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo

A Geometry Package
Earlier we designed classes of geometric objects such as Triangle, Quadrilateral, Octagon, and Hexagon
In this unit, we write additional classes (Rectangle, Square, Parallelogram, and Rhombus) and impose further class structure on the geometry package (superclass DrawablePolygon, for instance)



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998