Question: Create java class for a hamburger object that has options of entering the size, toppings, and price. Do this for a drinks object as well.
Create java class for a hamburger object that has options of entering the size, toppings, and price. Do this for a drinks object as well. The class should include type of drink, size and price. Lastly. Create an object to store the order. This object should be able to hold all of the drink and hamburger items as well as the quantity of each.
Im having a lot of trouble making this. Thank you for any help. You guys are awesome
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
