Question: You will be creating: a UML for the Hamburger Class, Java code for the Hamburger class and then the driver program. Hamburger Class: contains the

You will be creating: a UML for the Hamburger Class, Java code for the Hamburger class and then the "driver" program. Hamburger Class: contains the following attributes/properties: meatType: can be: beef, turkey, chicken, veggie with beef as the default numberOfPatties: choice of: 1, 2, or 3. the cost of a single burger is 5.99, each additional patty is $1.50 type of bread: seedless, sesame-seed, whole-wheat, white, brioche, pretzel howCooked; choice of: well, medium, medium-rare, or rare standardToppingList; a list of the Standard toppings at no extra cost that would be: tomato, lettuce, pickles, onion (yellow) counterT: for the number of standard toppings standardSauceList; a list of the Standard sauces at no extra cost that would be: mustard, ketchup, mayonnaise, buffalo, hot sauce, or BBQ counters: for the number of standard toppings cheeseToppingList; Choices of Cheese: American, Cheddar, Pepper Jack, Bleu, or Mozzarella numberOfCheeseToppings: another counter costOfCheeseToppings: Cost is $1.00 for each deluxeToppingList: a list of toppings at an extra cost, that would be: red onion, bacon, mac-and-cheese, fried eggs, and grilled onions, jalapenos counterD: for the number of deluxe toppings costOfDeluxeToppings: Cost is $1.25 for each Methods: sets and gets for each of the attributes/properties. Include a no-argument constructor that defaults to: 1 beef patty cooked medium on a sesame-seed bun, no toppings of any kind. In your driver program: Ask the user for their choices. If the input is invalid, then the program will use the default value. Specifically: beef, 1 patty, cooked medium, on a sesame-seed bun with no toppings. Your program will display the entire order. Your program should calculate: sub-total amount, amount of tax (8.625%) AS A CONSTANT, and grand total. The money output should have both a $ and 2 decimal places. Remember to include: internal documentation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
