Question: Use Android studio Java for below question and send me steps and program code You have been hired to create a Grilled Rump Steak ordering

Use Android studio Java for below question and send me steps and program code

Use Android studio Java for below question and send me steps and

You have been hired to create a Grilled Rump Steak ordering app. The app should have a class named GrilledRumpSteak which contains data about a single rump. The GrilledRumpSteak class should include the following: - Private instance variables to store the size of the rump (either small, medium, or large), the number of salsa toppings, the number of tomato toppings, and the number of mushroom toppings. - Constructor(s) that set all the instance variables. - Public methods to get and set the instance variables. - A public method named calcCost( ) that returns the cost of the rump as a double. The Grilled Rump Steak cost is determined by: Large: R200 + 30 per topping Medium: R150 + R20 per topping Small: R120+R15 per topping - public method named getDescription( ) that returns a String containing the rump size, quantity of each topping. Write test code to create several grilled rump steaks and output their descriptions. For example, a large rump with one salsa, one tomato, and two mushroom toppings should cost a total of R320. Now Create a GrilledRumpSteakOrder class that allows up to three grilled rump steaks to be saved in order. Each grilled rump steak saved should be a GrilledRumpSteak object. Create a method calcTotal() that returns the cost of the order

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!