Question: Create two java classes named Pizza that stores information about a single pizza and PizzaOrder that stores information about the order. The Pizza class should

Create two java classes named Pizza that stores information about a single pizza and PizzaOrder that stores information about the order.

The Pizza class should contain the following:

Private instance variables to store the size of the pizzas (small, medium or large), pizza type ( thin, medium, and Deep (pan)) and the toppings being ordered

Constructor(s) that set all of the instance variables.

Public methods to get and set the instance variables.

The PizzaOrder class should contain the following:

Private instance variable to store the number of pizzas

Constructor(s) that set all of the instance variables

A public double calcTotal( ) that returns the total cost of the order

Pizza cost is determined by:

Small: $6.5 + $1.5 per topping

Medium: $ 8.5 + $1.5 per topping

Large: $10 + $1.5 per topping

Design and develop a netbeans GUI application program, to create a menu for a pizza shop. Use Check boxes, radio buttons, and a JButton to allow a customer to make

Selections and process their order. Use a text area to display the customers

Order and the amount due. A sample menu and a customers order is shown

Below:

Create two java classes named Pizza that stores information about a single

Can someone please help me with this , this is a netbeans GUI.

Please provide screenshots of the outputs.

DUBai PIZZA cela Ready to start? Create Your Own PizzaReceipt: Total Price DUBAI PIZZA DUBai PIZZA cela Ready to start? Create Your Own PizzaReceipt: Total Price DUBAI PIZZA

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!