Question
Programming Fundamentals II JAVA Lab #8 - Polymorphism NAME Problem: Develop the Shape application such that: Implement an array of objects of various types (all
Programming Fundamentals II JAVA Lab #8 - Polymorphism NAME Problem: Develop the Shape application such that: Implement an array of objects of various types (all SIX classes), in any order. In some type of a looping structure, demonstrate polymorphism by calling all three of the methods, draw, move, and erase. That is, within the curly braces, there will be only three method calls. Verify that the output messages come from all three methods, from all seven classes. The only class that you should have to develop for this class will be the test application. The six shape classes from Lab-7 should remain unchanged. Due Date: TBD Note: There will be no late labs!!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started