public class Shapes2
extends java.lang.Object
Tests the Circle and Rectangle class which demonstrates polymorphism
behavior with late binding and the call to method printIt() which calls
the abstract method draw() from class Shape which in turn calls the
concrete method draw() of its subclasses.
- Version:
- Copyright (c) 2008 -- SCCC West
- Author:
- Prof. Carl B. Struck