From Java Academy II:Intermediate Java NPAC/ECS Java Academy -- February to April 98. byTom Scavo
The MyPolygon class contains those methods common to all polygons: class MyPolygon extends Polygon { public void draw(...) {...} public void fill(...) {...} public void addPoint(...) {...} }
Any subclass of MyPolygon inherits all of these methods