Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
imageimageimageimageimageimageimageimageimage

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

Step: 1

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting Information Systems

Authors: George H. Bodnar, William S. Hopwood

11th Edition

0132871939, 978-0132871938

More Books

Students also viewed these Programming questions

Question

What amounts should be recorded as a cost of a long-term asset?

Answered: 1 week ago

Question

Explain the pages in white the expert taxes

Answered: 1 week ago