Basic HTML version of Foils prepared
13 July 98
Foil 37 Another Constructor
From
Java Academy II:Intermediate Java NPAC/ECS Java Academy --
February to April 98
.
by
Tom Scavo
1
Here is a more complex constructor: public Triangle( int x1, int y1, int x2, int y2, int x3, int y3 ) { super(); this.addPoint( x1, y1 ); this.addPoint( x2, y2 ); this.addPoint( x3, y3 ); }
2
This constructor takes six integer arguments
in Table To:
©
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