21 Jun Now that your ordering system
Now that your ordering system is constructed in a truly object-oriented manner, you can take advantage ofthis organization. Consider another product that is similar to your existing product but that has one property or attribute that is somewhat different. As a concrete example, assume that your product has a size property and that the valid values for size are large, medium, and small. A slightly different product might use size values 10”, 15”, 20”, and 25”. These two products would have names: a string. However, the value in the name Öeld would be different for these two different kinds of products. In particular, one is an int and the other is a string. Complete the following: Create a base class (also called a superclass) that contains all of the properties that are common to both of these products. Create 2 derived classes (also called subclasses) that contain different kinds of sizes. If your product does not already have a name property, you will need to add one along with appropriate get- and set-methods. Modify your program so that at an appropriate point in the ordering process, the program requests the name or kind of product. At that point, the correct kind of product class needs to be instantiated. Polymorphism should ensure that the correct kind of size information or method is used. Modify your program so that it requests 3 products. Create an array of products and save all of the product instances in this array. You might want to think about how an indeÖnite number of product orders might be handled. However, do not implement this extension for this course. You will need to change how you handle Öle output or input. Instead of creating or writing a new Öle for each product, you need to create an empty Öle when the program starts. Each new product should then be added to the Öle. You no longer need to create the conÖrmation dialog based on data that are read back in after each individual product is ordered. Instead, you will conÖrm the entire 3-product order after all 3 product orders have been completed. This can be done by reading the order Öle and displaying or conÖrming the product orders one after another. You must revisit your UML diagrams one last time and revise them to represent the Önal online ordering system in structural diagrams (the class diagrams) and in a behavioral diagram (the use case diagram). New Content for Week 5 The Phase 5 Individual Project deliverables are as follows: Save the Önal program code that you just developed and ran successfully in a .zip Öle that includes all of your Java project Öles. Update the Key Assignment design document title page with a new date and project name. Update your previously completed work based on your instructor’s feedback. Perform a screen capture of each of the ordering system dialogs that are displayed during execution just after you have entered the requested information. Place these screen captures in Week 5: Inheritance and Polymorphism. Review and revise your class diagrams and use case diagrams where appropriate to include the new program organization and structure. Be sure to update your table of contents before submission. Name your revised document “yourname_IT110_IP5.doc.” Create a .zip Öle containing your Önal Key Assignment document (including screen captures) an
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.
