Question: java language Programming Exercise 11-1 (10 Points) Complete Project #15 on Page 424 of the textbook: Programming Project 4.12 asked you to create a PizzaOrder

java language
Programming Exercise 11-1 (10 Points) Complete Project #15 on Page 424 of the textbook: Programming Project 4.12 asked you to create a PizzaOrder class that stores an order consisting of up to three pizzas. Modify the class to store the pizzas using an array. This will allow the class to include an arbitrary number of pizzas in the order instead of a maximum of three. The setNumPizzas method can be used to create an array of the appropriate size. The array structure allows you to eliminate the methods setPizza1, setPizza2, and setPizza3 and replace them with a single method, setPizza(int index, Pizza newPizza). Include appropriate tests to determine if the new PizzaOrder class is working correctly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
