HELP! * GREY=local LOCAL HTML version of Foils prepared 27 February 1996

Foil 20 Defining a child class

From Introduction to Java ECS400 Senior Undergraduate Course -- Spring Semester 1996. by Nancy J. McCracken * Critical Information in IMAGE

We define a class for movable rectangle objects. It uses x,y from the parent class mPoint for the location of the rectangle, but adds h,w to specify height and width of the rectangle.



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 Tue Feb 18 1997