Question: java thank you! 2 separate files thanks!!: 1.AmazonOrder.java 2.AmazonOrderPrinter.java (provided) Use the following file: AmazonOrderPrinter.java /** * Tester for the AmazonOrderPrinter class * * @author

java thank you!

2 separate files thanks!!:

1.AmazonOrder.java

2.AmazonOrderPrinter.java (provided)

java thank you! 2 separate files thanks!!: 1.AmazonOrder.java 2.AmazonOrderPrinter.java (provided) Use the

Use the following file:

AmazonOrderPrinter.java

/** * Tester for the AmazonOrderPrinter class * * @author Kathleen O'Brien */ public class AmazonOrderPrinter { public static void main(String[] args) { AmazonOrder order = new AmazonOrder(); order.add(12.59); order.add(18.25); order.remove(12.59); System.out.println(" Contents"); System.out.println(order.getContents()); order.reset(); order.add(10.25); order.add(11.75); order.add(15.50); order.remove(15.50); order.add(23); System.out.println("Subtotal: " + order.getSubtotal()); System.out.println("Total: " + order.getTotal()); System.out.println(" Contents"); System.out.println(order.getContents()); System.out.println(" Contents"); System.out.println(order.getContents()); } }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!