Question: Provide sample output after coding. There are several samples output to look. This is sample output that needs code. I need the code in java
Provide sample output after coding. There are several samples output to look.
- This is sample output that needs code. I need the code in java netbeans. I need the code to be exactly the same from the picture below. Also, I provide the instructions on what needs to be done.









Have the program display a message box confirming the cake order. Use the 'Yes' and 'No' buttons. If the client confirms the order (clicks yes), a message should display confirming that the order has been placed and generate and print a random 5-digit confirmation number. Make a method in OrderCake class to accomplish it. Confirm Order Message ? $30.00 for Vanilla flavoured Birthday cake Total amount of the order is $30.00 You have to pay: $30.00 Yes No Thank you Your order has been placed. Your Confirmation Code is : 028829 OK
Step by Step Solution
There are 3 Steps involved in it
Program Plan Cake Class Abstract Superclass This class represents a general cake It has a flavour attribute and two abstract methods calcCakeCost and toString CustomCake Class Subclass of Cake This cl... View full answer
Get step-by-step solutions from verified subject matter experts
