Order ready-to-submit essays. No Plagiarism Guarantee!
Note: All our papers are written from scratch by human writers to ensure authenticity and originality.
1. Create extra methods in the classes so the objects of those classes can communicate (In assignment 3 your focus was on the internal properties of the objects, this time you need to think about their external behavior). You need to have some scenarios of how the user may interact with the system and how the subcomponents of the system work together. For example, user can place an order, object of which class accepts this request and how that object communicates with the other classes or the object of other classes (Remember addToShoppingCart that we have discussed in the class and how we have decided, this method should be attached to an object of OnlineStore). Try to make any independent method static and call them by NameOfClass.NameOfStaticMethod(…) .
Check before you submit. Get the Turnitin report your professor sees.
Get the exact same Turnitin report your professor uses. Join 50,000+ students who submitted their essays with confidence this semester.
2. After the first step, your system is almost complete. You need to think about the user input and make an interface to your system, we make this interface in the console. The system asks user what do you want to do and let the user to use it; for example, the user can select purchase and then add the items to card and insert the shipping address and other information (You have to think about the real world) and checkout.
* Note that you are allowed to add as many as classes and methods to your system; however it should be rational to do that and you have to have scenarios to check them.
Create a class OnlineOrderTestDrive. Create the main method inside. Inside your main method create a list of items and add them to a shopping cart object. Create an instance of the OnlineOrder class and call the orderSummery method of that class. Store the result in a variable. Create an instance of the CheckoutSystem and call the checkout method of that object. Show the confirmation message.


