Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Create a class called CashRegister based on the information given (Create appropriate constructors, accessors and mutator methods). Then write a program that tests the class. Your driver program must do the required actions.

1. Create a class called CashRegister based on the information given (Create appropriate constructors, accessors and mutator methods).

2.Write a tester/driver class to test out your application. This program will contain a main method. Look at the sample output to see the flow of execution. This will help you the details of the driver program. 


3.Provided with this assignment is the class definition for a class named RetailItem. I have provided the interface for this class. You MUST use the class I have provided and not create your own.

Once the CashRegister.java and the driver class .java are written, put the files together with the RetailItem.class (note the .class extension) file in the same folder. You are now ready to compile and test your program. 


Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question