Another Constructor
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 ); }
This constructor takes six integer arguments