Class | Description |
---|---|
Circle |
The Circle class definition.
|
Rectangle |
The Rectangle class definition.
|
Shape |
The Shape abstract class definition.
|
ShapesBackup |
Tests the Circle and Rectangle class which demonstrates polymorphism behavior
with late binding and the call to method center() which calls the abstract
method draw() from class Shape which in turn calls the concrete method draw()
of its subclasses.
|