I am trying to write a program where the user clicks on a button labeled "Rectangle", "Oval", or "Square" and when that action is performed the appropriate shape is display. Can someone look at the partial code below and give me some pointers?
Any help would be appreciated. Thanks, Michael
posted 13 years ago
Michael, How have you considered organizing your project? What objects might the project need and what heirarchy might they create? Are you trying to work polymorphism into your project? If you'd like to learn a bit about what polymorphism is, take a look at The "How My Dog Learned Polymorphism" Story in The Campfire Stories.