This method appears in the Octagon class: // Overload Polygon.addPoint( int, int ): public void addPoint( Point p ) { super.addPoint( p.x, p.y ); } |
This new version of the addPoint(...) method relies on the old version (which virtually guarantees its correctness) |