Code /* TestShapes.java CIS 260 2005-02-11 David Klick This is the implementation of the TestShapes program as an Applet. This program is used to test out the classes and interface we have been building in class: interface Drawable class Shape +-- class Circle +-- class Rectangle The way the Shapes are created as either Circles or Rectangles, stored as Shape references, and then used for a method they both implement differently demonstrates polymorphism. */ /* */ import java.awt.*; import java.applet.*; public class TestShapes extends Applet { private Shape[] shapes = new Shape[10]; public void init() { int x, y, r, w, h, n, i; for (i=0; i