Inheritance

Shape class with graphics applet: