Program: ShapeTest.java  (follow link to view applet and code)
Author: Cory Goldfuss  
Date: November 7, 2000 Program last modified: November 7, 2000
Description: Program allows user to select a height and width for several different shapes. The user may also choose the color of the shape. After the shape is drawn its area is calculated. (I added the shape called watch.)
Components: Class, user-defined, Methods, Constructors, Method overloading and overriding, Abstract classes, Polymorphism, Class Inheritance, ActionEvents.
New Concepts: Polymorphism, dealing with classes, working with methods and constructors.
Reflections: Although I did not write the actual program, I was able to learn several major concepts of object oriented programming. Designing and implementing my own shape helped me to understand the idea of class inheritance. It also allowed me to get a feel for using polymorphism and constructors as well as abrstract classes. Working with already written classes allowed me to learn more about Visual Cafe as I had to insert each class to create the entire "program" of ShapeTest. I found the program very exciting to work with as it is not very often you get to be creative and draw something that looks like a watch to you, but to everyone else it looks like shapes.
Evaluation: Please provide an evaluation of this portfolio entry.


G-fuss
Last modified November 6, 2000.