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:
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 PIZZAStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started