This lab had us involve parent and children class with inhertiance. We also had to involve overriding methods. The basis involved creating an array of parent objects, filling it with children objects and using polymorphism to perform functions on the diffrent shapes. We also had to perform the drawing functions in the children classes. It is very confusing, and to tell you the truth, I was really supprised when it worked. If you hit the refresh or reload button it will change the display.

Back to Java page
LastModified 3 Nov 2002