Parallelogram Constructor #1
Assuming 0 ? ? ? ?, we have: public Parallelogram( int x, int y, int a, int b, double alpha ) { super(); // a constructor of the superclass this.addPoint( x, y ); this.addPoint( x + a, y ); // compute d and h as before… this.addPoint( x + a - d, y + h ); this.addPoint( x - d, y + h ); }